On Thu, Feb 6, 2014 at 11:28 AM, Denis Heidtmann
<[email protected]> wrote:
>>>> for i in range(4):
> ...     print fib2(i)
> ...
>
> The above results in an error:

Because fib2(0) recurses infinitely, and i's first value is 0.

-- Devin
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to