On Mon, May 13, 2013 at 5:13 PM, Marc Tompkins <[email protected]>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 - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
