Answers for "how to ask a question in python"

1

how to ask someone for their name in python

name=input("what is your name")
Posted by: Guest on January-12-2021
2

ask a question on python

Question = input("your question")
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
Posted by: Guest on April-09-2020
1

how to ask a question in python

variable = input('How are you doing?')

#for a number response
variable1 = int(input('How old are you?'))
Posted by: Guest on January-28-2021
0

how to ask a question in python

import tkinter as tk
from tkinter import simpledialog

ROOT = tk.Tk()

ROOT.withdraw()
# the input dialog
USER_INP = simpledialog.askstring(title="Test",
                                  prompt="What's your Name?:")

# check it out
print("Hello", USER_INP)
Posted by: Guest on October-04-2020

Code answers related to "how to ask a question in python"

Python Answers by Framework

Browse Popular Code Answers by Language