Python critique

rantingrick rantingrick at gmail.com
Sun Jan 30 00:23:02 EST 2011


On Dec 10 2010, 5:15 pm, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:

> n = 1
> [print(n) for n in (2,)]
> print n

Oh *thats* why we have print as a function! I always wanted to put
print in a list cmp. :-)





More information about the Python-list mailing list