I'm trying to use this code for a fibonocci sequence where I'm setting the starting numbers
as b= and c=. What I'd like to do though is have it stop after so many numbers are added together, in this case it would be 53rd (a=53). I've tried a 'for i in range(53):'loop but
that doesn't work for this. The a,b,c numbers can be randomly choosen, which I
have working, but for this snippet I'm setting them as static. Suggestions?
a = 53 b = 7 c = 18 k, l = b, c while l < 9999999999999999: xa = l k,l = l, k+l print xa, #for i in range(a): #print i #for x in xa: ??