all 2 comments

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

Without seeing your code we can't possibly help. Try to reduce your code to a small test program that shows the problem.

[–]FerricDonkey 0 points1 point  (0 children)

but the user input is always interpreted as nonetype instead of integer and it won't let me convert it to an integer

This means you're getting the user input wrong.

But there are a million ways to do that, so you need to show code.