On Mon, Jul 21, 2008 at 10:20 AM, Daniel Sarmiento <[EMAIL PROTECTED]> wrote:
> What about the following function? > > if x == 0: > return False > return True > > > I am a beginner, but I think it is more clear (at least to me) what > the function does. And it is only one line longer than > > value = (x != 0) > return value > How about > return (x!=0) > ? Short and cryptic! -- www.fsrtechnologies.com
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor