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