Source

pynie / examples / ex-3-2-a.py

Full commit
# Fibonacci series:
# the sum of two elements defines the next
#a, b = 0, 1
a = 0
b = 1
while b < 10:
    print(b)
    #a, b = b, a+b
    a = b
    b = a+b