[False,True] and [True,True] --> [True, True]?????
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Wed Apr 22 21:40:47 EDT 2009
In message <25f4735b-52a2-4d53-9097-
e623655cadd1 at k19g2000prh.googlegroups.com>, bdb112 wrote:
> Is there any obvious reason why
> [False,True] and [True,True]
> gives [True, True]
This kind of confusion is why conditional constructs should not accept any
values other than True and False
<http://groups.google.co.nz/group/comp.lang.python/msg/396c69e9498d9ad4>.
More information about the Python-list
mailing list