I'm new to python and I know this code is not optimized but I encourage suggestions on how to do so. However, the problem is that when the user is asked to restart, the code will do so regardless of what input is entered. I believe it has something to with my use of the or operator because the code worked fine when the if statement only checked for "yes" and nothing else.
If statement returning incorrectly
You are viewing a single comment. View All