Say we start with:
x = list(range(10))
I'd like to process x
to get a list of running sums like:
[0, 1, 3, 6, 10, 15, 21, 28, 36, 45]
Say we start with:
x = list(range(10))
I'd like to process x
to get a list of running sums like:
[0, 1, 3, 6, 10, 15, 21, 28, 36, 45]