John Machin wrote:

Instead of sum(a + b for a, b in zip(foo, bar))
why not use sum(foo) + sum(bar)
?

or even sum(foo+bar) as may apply.

Cheers, BB

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to