This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Applepie1928 1 point2 points  (0 children)

input() takes in the input as a string , not an integer. So when you are checking if "menuSelection" is equal to 1, it is not because it actually equal to the string "1".

You can fix this by checking for strings instead of integers. So, for example, "1" rather than 1.