Source

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

Full commit
1
2
3
4
5
6
7
8
9
#a, b = 0, 1
a = 0
b = 1
while b < 1000 :
    print(b, end = ' ')
    #a, b = b, a+b
    a = b
    b = a+b
print()