def fibonacci(n):
    result = []
    a, b = 0, 1
    while len(result) < n:
        result.append(b)
        a, b = b, a + b
    return result
Generates the first n Fibonacci numbers.
dataset/ETHPy150Open ZoomerAnalytics/xlwings/examples/fibonacci/fibonacci.py/fibonacci