Create a List that is the sum of numbers in a list

I have a list (let’s say it’s [10,-4,8,1,-7]

How can I quickly convert it to a list that is the consecutive sum of all these digits: [10,6,14,15,8]

Thanks so much.


This topic was automatically closed after 70 days. New replies are no longer allowed.