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:
              fib = a + b
              a = b
              b = fib
              i += 1
          return fib