Lesson 9: Fibonacci series and more

posted Jan 11, 2019, 7:58 AM by Attila Lengyel
a = 0
b = 1
c = 1

print(a)
print(b)
print(c)

for i in range(0,100):
d = a + b + c
print(d)
a = b
b = c
c = d


Comments