Adding through recursion
simon.brunning at gmail.com
Fri Nov 18 15:37:49 CET 2005
On 18 Nov 2005 06:30:58 -0800, martin.clausen at gmail.com
<martin.clausen at gmail.com> wrote:
> I still don't get it. I tried to test with x = 0 and found that to
> work. How come since the value of y is right and it is printed right it
> "turns into" None when returned by the return statement ?
There is no return statement in your else block. That's where the
Nones are coming from.
simon at brunningonline.net,
More information about the Python-list