func_code: def fibonacci(n):
      Fval = 0
      Sval = 1
      i = 0
      while i <= n:
          if n <= 1:
              return n
          else:
              Next = Fval + Sval
              Fval = Sval
              Sval = Next
          i = i + 1
      return Next