r/pythonhelp • u/asobieraj • Mar 13 '19
Help with schoolwork please.
I'm completely new to python and i need help with this if statement. I can't figure out why it's not working correctly Any suggestions?
if Correct=="yes"or"Yes"
print("Thank you for choosing Takers Travels, we hope to see you soon!")
elif Correct=="no"or"No":
print("Please refresh the page and re-enter your personal information")
0
Upvotes
2
u/[deleted] Mar 13 '19
Maybe missing : after first if? Make sure your indentations are right too.
Might need to write: if(correct == ‘Yes’ or correct == ‘yes’):
Instead of what you had. Same with the other “if”