python recursive function

Duncan Booth duncan.booth at invalid.invalid
Fri Jan 11 10:12:30 CET 2008


Bruno Desthuilliers <bruno.42.desthuilliers at wtf.websiteburo.oops.com> 
wrote:

> You want:
>            return bears(n - 42)

Actually, no he doesn't. He needs to explore all options when the first 
attempt fails. But I'm not going to write his homework for him.



More information about the Python-list mailing list