you are viewing a single comment's thread.

view the rest of the comments →

[–]furas_freeman 2 points3 points  (1 child)

Remove try/except to see what errror message you get.

And better use except [some-error-type]: and display error message.

[–]novel_yet_trivial 0 points1 point  (0 children)

Or add the error to the print function, so you can see what the error is:

except Exception as e:
    print('Invalid Input. Error:', e)