Answers for "input must be string python"

0

input must be string python

isdigit():
Posted by: Guest on October-13-2020
-2

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")
Posted by: Guest on July-22-2020

Code answers related to "input must be string python"

Python Answers by Framework

Browse Popular Code Answers by Language