I am new to python and this code is like ,why would it give me error. i came from java background so i am unable to understand why is this happening . i saw many answers but i cant understand what actually they are trying to say .
n=input("Enter a Number :")
if n%2==0:
print("Even Number")
else:
print("oddNumber")
Error I am Facing is :
Traceback (most recent call last): File "Proj2.py", line 5, in <module> if (n%2)==0 : TypeError: not all arguments converted during string formatting