scripts/ege/13150871/16.py
2023-05-05 00:45:01 +03:00

8 lines
88 B
Python
Vendored

def f(n):
if n <= 3:
return 1
return f(n - 3) + f(n - 2)
print(f(10))