July 6, 2022 - Reading time: ~1 minute
In [1]:
import functools @functools.cache def fib(n): if n < 2: return n return fib(n - 1) + fib(n - 2)