Accumulate function in python

Aahz aahz at
Mon Aug 2 19:29:03 CEST 2010

In article <7xpqyjgvjm.fsf at>,
Paul Rubin  < 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.

Aahz (aahz at           <*>

"....Normal is what cuts off your sixth finger and your tail..."  --Siobhan

More information about the Python-list mailing list