I am just learning python, and have written the beginning of a simple program that asks for some information.
I want to include some additional logic at the end depending on the user input but can't seem to get it right.
Any help is greatly appreciated!
Here is what I have written, but no matter the user input, it just prints the first "move to next step"
Yes, yes, no, No are all defined variables
#######################################################
#Program response
if (yes or Yes in (answer_str)): print('Congrats! Move to next step')
elif (no or No in (answer_str)): print ('Ok we need to start over')