"Philip Semanchuk" 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
Thanks for the assistance. I actually realized I was making things
more complicated than they needed to be and I really only needed one
condition to be met.
On Jan 6, 7:42 pm, Ned Deily wrote:
> In article
> <40a44d6b-c638-464d-b166-ef66496a0...@l16g2000yqo.googlegroups.com>,
>
>
>
> "bowman.jos
In article
<40a44d6b-c638-464d-b166-ef66496a0...@l16g2000yqo.googlegroups.com>,
"bowman.jos...@gmail.com" wrote:
> Hi,
>
> I'm trying to write a multi-conditional while statement, and am having
> problems. I've broken it down to this simple demo.
>
> #!/usr/bin/python2.5
>
> condition1 = Fal
On Jan 6, 2009, at 7:18 PM, bowman.jos...@gmail.com wrote:
Hi,
I'm trying to write a multi-conditional while statement, and am having
problems. I've broken it down to this simple demo.
#!/usr/bin/python2.5
condition1 = False
condition2 = False
while not condition1 and not condition2:
pri