SpaghettiKart/mods/cython/test.py

4 lines
78 B
Python

def fib(n):
if n <= 1:
return n
return fib(n - 1) + fib(n - 2)