Charleslee
0
Q:

how to code a yes or no question in python v3.8

Question = input("your question")
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
0
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
0

New to Communities?

Join the community