time_interval = [4, 6, 12] 我想总结一下[4, 4+6, 4+6+12]这样的数字来得到列表t = [4, 10, 22] 。 我尝试了以下内容: for i in time_interval: t1 = time_interval[0] t2 = time_interval[1] + t1 t3 = time_interval[2] + t2 print(t1, t2, t3) 4 10 22 4 10 22 4 10 22