Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (7 sloc) 156 Bytes
def fib(n):
if n == 0 or n == 1:
return n
else:
return fib(n-1) + fib(n-2)
for i in range(36):
print("n="+str(i)+" => "+str(fib(i)))
Something went wrong with that request. Please try again.