How to print lambda result ?

D'Arcy J.M. Cain darcy at druid.net
Tue Jan 20 15:53:04 CET 2009


On Tue, 20 Jan 2009 09:26:14 -0500
"D'Arcy J.M. Cain" <darcy at druid.net> wrote:
>  "%s" % lambda num: int(num)

Of course I meant...
  "%s" % (lambda num: int(num))

-- 
D'Arcy J.M. Cain <darcy at druid.net>         |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.



More information about the Python-list mailing list