
#Write a Python program to input a number, if it is not a number generate an error message.
 
my_number = (input("Enter a number: "))
if my_number .isdigit():
    print(int(my_number))
else:
    print("Enter a number")


 


 
