having problems with a multi-conditional while statement

Hendrik van Rooyen mail at microcorp.co.za
Wed Jan 7 08:44:36 CET 2009

 "Philip Semanchuk" <phi.. at nchuk.com> wrote:

8<------------ nice explanation --------------------

> Change the "and" to an "or" and you'll get the result you expected.

Also google for "De Morgan", or "De Morgan's laws"

Almost everybody stumbles over this or one of it's
corollaries at least once in their careers.

- Hendrik

With the disappearance of the gas mantle and the advent
of the short circuit, man's tranquillity began to be threatened
by everything he put his hand on.
(James Thurber.  First sentence of Sex ex Machina)

More information about the Python-list mailing list