Accumulate function in python
Aahz
aahz at pythoncraft.com
Mon Aug 2 13:29:03 EDT 2010
In article <7xpqyjgvjm.fsf at ruckus.brouhaha.com>,
Paul Rubin <no.email at nospam.invalid> wrote:
>
>I think Peter Otten's solution involving a generator is the one most in
>the current Python spirit. It's cleaner (for my tastes) than the ones
>that use things like list.append.
Agreed
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"....Normal is what cuts off your sixth finger and your tail..." --Siobhan
More information about the Python-list
mailing list