blob: 78f942b69039b6e57cce7169cc8dc3ffec50e359 [file]
total = 0
partial_sums = [total := total + v for v in values]
print("Total:", total)
<ref>