Running total

Write running(amounts) that returns a list where each position holds the sum of all amounts up to and including that one.

running([10, 5, 20])  ->  [10, 15, 35]
running([])           ->  []
def running(amounts):
    ...