
Implement running_totals, which returns, for each position of a list of integers, the sum of everything up to that position.
running_totals([3, 1, 4, 1])[3, 4, 8, 9]running_totals([5, -7, 2])[5, -2, 0]running_totals([])[]running_totals.py
Run the tests to grade your code
Implement running_totals, which returns, for each position of a list of integers, the sum of everything up to that position.
running_totals([3, 1, 4, 1])[3, 4, 8, 9]running_totals([5, -7, 2])[5, -2, 0]running_totals([])[]running_totals.py
Run the tests to grade your code
Variables will appear here