[Python] 0 in (False,) // 0 == False

Lawrence Oluyede l.oluyede a gmail.com
Ven 5 Feb 2010 10:07:55 CET


2010/2/5 Pietro Battiston <toobaz a email.it>:
> In [5]: [] == False
> Out[5]: False

In [2]: if []: print "aaaaaa"
   ...:

-- 
Lawrence Oluyede
[eng] http://oluyede.org - http://twitter.com/lawrenceoluyede
[ita] http://www.neropercaso.it
[flickr] http://www.flickr.com/photos/rhymes


Maggiori informazioni sulla lista Python