input: Write a function to compute the power of a given base raised to a given exponent.
  assert pow(2, 4) == 16
  assert pow(3, 3) == 27
  assert pow(5, 0) == 1
output: def pow(base, exponent):
      result = 1
      for _ in range(exponent):
          result *= base
      return result