Cosmo/test.py
2020-10-28 00:16:30 -05:00

7 lines
98 B
Python

def fib(i):
if i < 2:
return i
return fib(i - 2) + fib(i - 1)
print(fib(35))