Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

See:

http://docs.python.org/2/tutorial/datastructures.html

"The Boolean operators and and or are so-called short-circuit operators: their arguments are evaluated from left to right, and evaluation stops as soon as the outcome is determined."