cs/stuff/loops/num8.py

12 lines
108 B
Python
Raw Normal View History

2022-12-13 11:38:55 -05:00
a = 100
n1, n2 = 0, 1
count = 0
while count < a:
print(n1)
nth = n1 + n2
n1 = n2
n2 = nth
count += 1