func_code: def fibonacci(n):
      if n == 0:
          return 0
      elif n == 1:
          return 1
      else:
          a = 0
          b = 1
      i = 2
      while i <= n:
          sum1 = a + b
          a = b
          b = sum1
          i += 1
      return sum1