[BangPypers] Truth Tests (bool)

Senthil Kumaran senthil at uthcode.com
Tue Jan 10 18:15:45 CET 2012

They are called Python Logic Short Circuits.

A good way to remember this is here


For your other question, an empty list is always fast.


On Tue, Jan 10, 2012 at 10:28:43PM +0530, Ganesh Kumar wrote:
> Did I learn something today? If not, I wasted it.

(Don't be so hard on yourself. :) )

More information about the BangPypers mailing list