user_input = input("Enter Something:") if user_input.isnumeric(): print("Is a number") else: print("Is not a number")