input: Write a python function to determine if a number is even.
  assert is_even(4) == True
  assert is_even(7) == False
  assert is_even(0) == True
  assert is_even(-2) == True
output: def is_even(n):
      return n % 2 == 0