Python

Dandelion 发表于 2个月前 · 关联问题 A+B 输入输出练习 VIII

N=int(input()) while True: l=[int(i) for i in input().split()[1:]] if not l: break print(sum(l)) print()