Does Python support short-circuiting in boolean expressions?
Yep, both and and or operators short-circuit -- see the docs.
and
or
1.4m articles
1.4m replys
5 comments
57.0k users