mirror of
https://github.com/CPunch/Cosmo.git
synced 2024-10-05 18:12:48 +00:00
7 lines
98 B
Python
7 lines
98 B
Python
def fib(i):
|
|
if i < 2:
|
|
return i
|
|
|
|
return fib(i - 2) + fib(i - 1)
|
|
|
|
print(fib(35)) |