Fibonacci

Fibonacci sequence

While loop

a, b = 0, 1
while b < 10:
    a, b = b, a+b
    print(b)
1
2
3
5
8
13