Understanding Boolean Expressions

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Apr 17 05:20:11 EDT 2013


On Wed, 17 Apr 2013 11:47:49 +0300, Jussi Piitulainen wrote:

> Steven D'Aprano writes:
> 
>> So paradoxically, that means that "x or y" counts as an and_test
>> (obviously!) but also as an or_test, since every and_test also counts
>> as an or_test. Here's some crappy ASCII art of a Venn diagram
> 
> I think you mean to say that "x and y" counts as an and_test and also as
> an or_test.

You may very well be right, but I'll be damned if I go back and read 
through my post trying to work out what I intended to say instead of what 
I actually said! 


:-)


And-or-or-and-or-or-or-and-and-or-ly y'rs,



-- 
Steven



More information about the Python-list mailing list