daily = [10, 20, 30]
total = 0
pay = []

for i in range(len(daily)):
    total += daily[i]
    pay.append(total)

print(pay)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: