Try adding the
double dots colon, like
...
if num == 0:
...
Also you need to check the indentations and use parenthesis for the print statements, something like
num = int(input("enter number: "))
if num == 0:
print ("number is 0")
else:
mod = num % 2
if mod > 0:
print("it is even number")
else:
print("it is odd number")