python recursive function
steve at REMOVE-THIS-cybersource.com.au
Sat Jan 12 00:21:48 CET 2008
On Fri, 11 Jan 2008 06:30:04 -0600, Nick Craig-Wood wrote:
> HYRY <ruoyu0088 at gmail.com> wrote:
>> def bears (n):
>> if n==42:
>> return True
>> return False
> Almost but you missed a case...
Why are you people doing the OP's homework for him? And then DEBUGGING it
as well? Haven't you got something better to do than to help create a new
generation of incompetent, under-educated programmers?
More information about the Python-list