fibonacci series for 2 code example Example 1: fibonacci sequence 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, ... Example 2: fibonacci 10th assert(fib(10) == 55)