On 08/01/2011 06:06 PM, Steven D'Aprano wrote:
Does your definition of "fixed" mean "gives wrong results for n>= 4 "?

fibo(4) == 3
False


Well, I don't know if you're trolling or just dumb:

http://en.wikipedia.org/wiki/Fibonacci_number

In [2]: for i in range(10):
   ...:     print fibo(i)
   ...:
   ...:
0.0
1.0
1.0
2.0
3.0
5.0
8.0
13.0
21.0
34.0


--
Bill
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to