I had originally coded the program wrongly. Instead of returning the Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 should = only those numbers between 1
Canonical Python code to print Fibonacci sequence:
a,b=1,1 while True: print a, a,b=b,a+b # Could also use b=a+b;a=b-a
For the problem "Print the first Fibonacci number greater than 1000 digits long":
a,b=1,1 i=1 while len(str(a))<=1000: i=i+1 a,b=b,a+b print i,len(str(a)),a