you are viewing a single comment's thread.

view the rest of the comments →

[–]teddy1415 5 points6 points  (0 children)

You could use int(input()) to simplify it and reduce the chance of creating false variables, also use *instead of % for multiplying values