Write a program in python and submit in the 2 c) a) to input a character and check and print if it is a digit or non-digit
Answers
Answered by
0
Answer:
Hey! Here is your program in python...
x = input("Enter something: ")
if x isdigit():
print("It is a number...")
else:
print("It is not a number")
# Hope this helps and works!!
Similar questions