Duncan Booth a écrit : > Bruno Desthuilliers <[EMAIL PROTECTED]> > wrote: > >> You want: >> return bears(n - 42) > > Actually, no he doesn't. He needs to explore all options when the first > attempt fails.
Possibly - I didn't bother checking the algorithm correctness, just pointed out an obvious newbie programming error. > But I'm not going to write his homework for him. Nor do I. -- http://mail.python.org/mailman/listinfo/python-list