input: Write a python function to determine the parity (even or odd) of a number.
  assert parity(1) == "odd"
  assert parity(2) == "even"
  assert parity(15) == "odd"
  assert parity(22) == "even"
output: def parity(n):
      return "even" if n % 2 == 0 else "odd"