python yes or no question code example
Example 1: ask a question on python
Question = input("your question")
if Question == ("yes")
print ("well done")
elif Question == ("no")
print ("try again")
Example 2: how to code a yes or no question in python v3.8
if Question == ("yes")
print ("well done")
elif Question == ("no")
print ("try again")