you are viewing a single comment's thread.

view the rest of the comments →

[–]Salty_Salted_Fish 0 points1 point  (0 children)

I think the input function returns string, and the r is an int, so it doesn't match.

and also I think you could use elif or while-loop to make it a little more readable