num = input("Enter your number ") print(" ") if num.isdigit(): print("User input is Number ") else: print("User input is string ")