On Mon, May 13, 2013 at 5:13 PM, Marc Tompkins <marc.tompk...@gmail.com>wrote:

> In fact, you could shorten your isodd() function to:
> > def isodd(candidate):
> >    return candidate%2 !=0:
> and it would function identically.
>

Sorry - that should be
> def isodd(candidate):
>    return candidate%2 !=0
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to