if input == yes python code example
Example 1: yes or no condition for input python
Join = input('Would you like to join me?').lower()
if Join.startswith('y'): # etc.
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")