0
Number checker
How can I make a number checker? I would like to make an input checker. This function will check for input and if user inputs number, not text and other, function will, for example, print 1
2 Antworten
0
Specify the programming language please xD
0
user_input = input("Enter something:")
if type(user_input) == int:
print("Is a number")
else:
print("Not a number")