if a % 2:
print('odd')
if a % 2 != 0:
print('odd')
if a % 2 == 1:
print('odd')
a = 1
even = a % 2 == 0
odd = a % 2 != 0
if even:
print('even')
if odd:
print('odd')
def isEven(value):
even = value % 2 == 0
odd = value % 2 != 0
if even:
print('even')
elif odd:
print('odd')
isEven(2)
def isEven(value):
even = value % 2 == 0
print(even if True else False)
isEven(2)