I'm starting a class on Python, and an assignment was to create a knock knock joke. I wanted to take it one step further, so I tried this code:
jokesetup=input('Do you want to hear a joke? Yes/No:')
if jokesetup=="yes" or "Yes": knockknock=input('Knock knock')
if jokesetup=="no" or "No": print('Then why are you here?')
But if I answer Yes or No, it still just says "Knock knock". What have I done wrong?
Thank you!