Cai Gengyang writes:

> Sorry I mistyped , this should be correct :
>
> bool_one = False and False --- This should give False because none of the 
> statements are True 
> bool_two = True and False --- This should give False because only 1 statement 
> is True 
> bool_three = False and True --- This should give False because only 1 
> statement is True 
> bool_five = True and True --- This should give True because both statements 
> are True 

Yes.

(That is, afterwards bool_one, bool_two, ... evaluate to the stated
truth values, for the stated reasons.)

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to