How can i check if a number is even in python?
I am new to programming and I was doing some practice. I wrote a code to check if a number is even in python:
number = int(input("Please enter a number to check"))
if (number % ) == 1
print("the number is even")
but it gives me an error :
File "main.py", line 2
if (number % ) == 1
^
SyntaxError: invalid syntax
can anyone help me out to sort out this problem?