1Question = input("your question")
2if Question == ("yes")
3 print ("well done")
4elif Question == ("no")
5 print ("try again")
1variable = input('How are you doing?')
2
3#for a number response
4variable1 = int(input('How old are you?'))
1import tkinter as tk
2from tkinter import simpledialog
3
4ROOT = tk.Tk()
5
6ROOT.withdraw()
7# the input dialog
8USER_INP = simpledialog.askstring(title="Test",
9 prompt="What's your Name?:")
10
11# check it out
12print("Hello", USER_INP)