Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
112 B
0
Indexable
Never
def fibonacci(n):
    a, b = 0, 1
    for _ in range(n):
        print(a)
        a, b = b, a + b

fibonacci(10)
Leave a Comment