Hi Jack,

On Wed, Mar 16, 2011 at 1:55 AM, Jack Trades <jacktradespub...@gmail.com> wrote:

 'and' evaluates one argument at a time and returns immediately if the
 argument is False.
>

And  "or" works in the inverse manner?  It "evaluates one argument at
a time and returns immediately if the argument is [True]." ?

For example,

>>> not (True or False)
>>> False

The first argument was "True", so "True" was returned and negated by
the "not" with a final result of "False" for the expression.

Is this correct?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to