func_code: def fibonacci(num):
      l = [0]
      i = 0
      while num >= len(l):
          if len(l) > 1:
              num2 = l[i] + l[i - 1]
          else:
              num2 = l[i] + 1
          l.append(num2)
          i = i + 1
      return l[-1]