returning None instead of value: how to fix?
Neil Cerutti
horpner at yahoo.com
Fri Sep 22 23:24:08 EDT 2006
On 2006-09-22, sam <python.sam at googlemail.com> wrote:
>> Missing a return on the last line is likely your immediate
>> problem.
>
> thanks to everyone for pointing this out. obviously, i had not
> understood what was actually involved in a recursive call. i
> have corrected it as suggested and it works fine now.
>
> thanks again for all the answers. it boggles the mind that one
> can have access to this almost immediate help at no charge.
But there is a charge. You're charged with asking your question
well, and you're charged with making some obvious effort to solve
the problem on your own. Those who take the trouble, as you did,
usually get excellent free help.
It's not out of the kindness of our hearts that we help. Heck, I
don't know what it is. Probably I just like reading my own drivel
on the internet and occassionally helping others is a good
excuse.
--
Neil Cerutti
More information about the Python-list
mailing list