userInp = input("Did you like the story?")

if(userInp == "yes" or "Yes" or "yes." or "Yes." or "yes!" or "Yes!" or "yeah" or "Yeah" or "yeah." or "Yeah." or "yeah!" or "Yeah!")

print("Thanks, I'm Glad you liked it!")

if(userInp == "no" or "No" or "no." or "No." or "no!" or "No!" or "nope" or "Nope" or "nope." or "Nope." or "nope!" or "Nope!")

print("Oh, I'm sorry you didn't like it.")


WHAT IS THE ERROR ON LINE 3 (2) I CANT FIGURE OUT WHY THERE IS AN INDENTATION ERROR?!?!?!

Respuesta :

Answer:

userInp = input("Did you like the story?")

if(userInp == "yes" or "Yes" or "yes." or "Yes." or "yes!" or "Yes!" or "yeah" or "Yeah" or "yeah." or "Yeah." or "yeah!" or "Yeah!") :

(Press tab right here) print("Thanks, I'm Glad you liked it!")

Yeah, no problem! It's okay.

Have a great day!