On Wed, May 4, 2016 at 10:46 AM Cai Gengyang <gengyang...@gmail.com> wrote:

> I am trying to understand the boolean operator "and" in Python. It is
> supposed to return "True" when the expression on both sides of "and" are
> true
>

Not exactly, because they will short-circuit. Take a look at the docs. (
https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not
)
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to