func_code: def fibonacci(n):
      fib = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34]
      while fib[n]:
          if n == 0:
              num = fib[0]
          elif n == 1:
              num = fib[1]
          else:
              num = fib[n - 1] + fib[n - 2]
          return num