I was making a program for fibonacci series.
x=0
y=1
print (x)
print (y)
z = None
for z in range(1,100,x+y):
z=x+y
print(z)
x = y
y = z
The problem was that the output showed numbers more than 100. Here is a sample of the output
0
1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
Why are there values greater than 100?
Note: this program was written in python 3.6