Duplicating a list, but with every value plus all its previous values

Hey,

I have a list with x items in it. I would like to create a second list from it with every number plus all its previous numbers added to it. So, for instance If I have a list with 5 Items:
(0) : 1
(1) : 10
(2) : 100
(3) : 1000
(4) : 10000

The second list should then go like this:
(0) : 1
(1) : 11
(2) : 111
(3) : 1111
(4) : 11111
So basically, adding the instances like this:
(0) : (0)
(1) : (0) + (1)
(2) : (0) + (1) + (2)
(3) : (0) + (1) + (2) + (3)
(4) : (0) + (1) + (2) + (3) + (4)

I am not sure if this is just one simple node or a little bit more complex problem, but I couldn’t come up with any solution yet. I hope u guys can help me.

Thanks in advance. Til

Mass Addition ‘Pr’ (Partial Results)

MA

1 Like