View Single Post
Old Oct 9th, 2006, 12:49 AM   #8
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 843
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
n = 1000
first = 0.0
second = 1.0

print "%s    %s   " % (first, second),

while n != 0:
	third = first + second
	first = second
	second = third
	print "%s   " % third,
	n -= 1
titaniumdecoy is offline   Reply With Quote