Philip Semanchuk ph...@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
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:
print 'conditions met'
if condition1:
condition2
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
In article
40a44d6b-c638-464d-b166-ef66496a0...@l16g2000yqo.googlegroups.com,
bowman.jos...@gmail.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
,
bowman.jos...@gmail.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 = False
condition2 = False
while not condition1 and not condition2