s for s in [0] # for every s of 0 (there is only one) for x in data # for every x in data for s in [s + x] # s is s + x.
Edit: someone already answered, I am blind.
Edit: someone already answered, I am blind.