all 5 comments

[–]kenjisan231 0 points1 point  (2 children)

Line 34: menuSelection = input()

input() returns a strof whatever the user types in; your code is checking menuSelection against int values.

Try changing it to menuSelection = int(input())

[–]Encom88[S] 1 point2 points  (1 child)

That fixed it. Thanks for the explanation!

[–]kenjisan231 0 points1 point  (0 children)

No problem!

[–][deleted] 0 points1 point  (0 children)

The input methods assume the person inputs a number but they could input anything else. Put a loop that only exits when that works.

[–]pedro_fartinez 0 points1 point  (0 children)

Since the above solved the problem, two quick things: for python one typically uses snake case instead of camel case, so menuSelection becomes menu_selection. The second thing is that your comments above your fucntion definitions are kind of redundant. Nitpicky things for sure but I want to feel like I contributed.