Answer:
Fibonacci series ranging from m to n where m<n assuming n=200 and m=100 .
Explanation:
#you have to produce a fibonacci series from 0 to n as follows:
k = [0,1]
fib=[]
n=200
m=100
for p in range(1, n+1):
y = k[p]+k[p-1]
if x > n:
break
else:
k.append(y)
# Now to single out those fibonacci series between m and n in a list #associated with the variable fib, do the following:
for p in range(0, len(k)): # p ranging from 0 to the last index of k
if k[p] >= m and k[p] <= n:
fib.append(k[p]) #append only those series within m and n to the
#variable fib
print fib #this will display the list created