Kindly show me a better way to do it

Oltmans rolf.oltmans at gmail.com
Sat May 8 17:06:33 EDT 2010


On May 9, 1:53 am, superpollo <ute... at esempio.net> wrote:

> add = lambda a,b: a+b
> for i in reduce(add,a):
>      print i

This is very neat. Thank you. Sounds like magic to me. Can you please
explain how does that work? Many thanks again.




More information about the Python-list mailing list