SyntaxFix
Write A Post
Hire A Developer
Questions
Depending on your definition of shortly, you could use one of the following options:
try: int(your_input); except ValueError: # ...
your_input.isdigit()
parse
format