print("Enter the number you want to test")
Num1 = input("Enter your number here:")
if (Num1%1 == '0' and Num1%Num1 == '0'):
print ("This number is prime number")
else:
print("This number is nor prime number")
This is failing with an error of TypeError: not all arguments converted during string formatting
. What is the cause and how can I fix it?