Empresa engajada
What a fibonacci function which return N th position number both in recursive and loop, also give the explanation on both implementation on their time efficiency.
Sigiloso
def fib(n): if n <= 1: return n else: return fib3(n - 1) + fib3(n - 2) print(fib(35))