python input read string not int code example
Example: python check if input is a number
user_input = input("Enter something:")
if type(user_input) == int:
print("Is a number")
else:
print("Not a number")
user_input = input("Enter something:")
if type(user_input) == int:
print("Is a number")
else:
print("Not a number")