def fibrange(n): return [Fibonacci.calc(i) for i in range(1, n + 1)]
def testfib(): assert Fibonacci.calc(1) == 1 assert Fibonacci.calc(2) == 1 assert Fibonacci.calc(3) == 2 assert Fibonacci.calc(4) == 3