generate list of partially accumulated values

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Sun Sep 16 09:34:07 EDT 2007


On Sun, 16 Sep 2007 04:18:30 -0700, marek.rocki wrote:

> Those methods of computing partial sums seem to be O(n^2) or worse.
> What's wrong with an ordinary loop?

Haven't you heard? There's a global shortage of newlines, and programmers 
have been asked to do their bit to conserve them.


-- 
Steven.



More information about the Python-list mailing list