[BangPypers] Truth Tests (bool)

Senthil Kumaran senthil at uthcode.com
Tue Jan 10 18:32:36 CET 2012


On Tue, Jan 10, 2012 at 10:55:58PM +0530, Gora Mohanty wrote:
> To check if a list is empty, see if len( list ) is zero.

I think, usually we just test the empty list for it's False-ness.
Isn't it?

-- 
Senthil



More information about the BangPypers mailing list