Step-by-step explanation:
userInput = input("Enter Number")
try:
val = int(userInput)
except ValueError:
print("That's not an int!")
6.5m questions
8.5m answers