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