Given a list of integers, return a new list where each element at index i is the sum of the elements from index 0 to i in the original list (the running sum).
Example:
Input:
([1, 2, 3, 4],)
Output:
[1, 3, 6, 10]
Make sure you return your solution, don't print!
AI
Bot
Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.