I am an absolute beginner in python and i have an error in my code. am doing it using python terminal. I know it may be simple but as am new i cant figure it out. My code is :
num = input("Enter a number: ") ;\
... mod = num % 2 ;\
... if mod > 0:
and the error is :
File "<stdin>", line 3
if mod > 0:
^