Source

fib: (
    n: int
    prevs: fib(n: n-1) + fib(n: n-2)
    result: if(cond: n<2, then: n, else: sum_prev_fibs)
    -> result
)

Built on top of Python3.


Tags: language  

Last modified 16 December 2024