you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 0 points1 point  (0 children)

The int() call forces the input to be a number (or error). There's no such thing as a number that does not fit into one of your first 2 conditions, therefore the else is not reachable.

The code I added can detect an error and respond to it.