input: Write a python function to calculate the average of three numbers.
  assert average(1, 2, 3) == 2.0
  assert average(10, 20, 30) == 20.0
  assert average(0, 0, 0) == 0.0
output: def average(a, b, c):
      return (a + b + c) / 3