Fun and games with lambda

Chris Angelico rosuav at gmail.com
Fri Jun 17 20:40:37 EDT 2011


On Sat, Jun 18, 2011 at 2:10 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> If you've ever wondered what lambda and reduce are good for, run this one-
> liner and wonder no more...
>
> (Be patient, it may take a few seconds to return.)

I have a decent CPU so it's not too bad. And the precision produced is
noteworthy. However, I have no idea how it does its work, so I'm just
in awe of the quality of the code.

And you can read that last remark either way.

ChrisA



More information about the Python-list mailing list