input: Write a python function to evaluate a polynomial given its degree and coefficients.
  assert evaluate_polynomial(2, [3, 2, 1], 1) == 6
  assert evaluate_polynomial(3, [2, 0, 3, 4], 2) == 26
  assert evaluate_polynomial(0, [5], 10) == 5
output: def evaluate_polynomial(degree, coefficients, x):
      result = 0
      for i in range(degree + 1):
          result += coefficients[i] * (x ** i)
      return result