Run ID:87859

提交时间:2024-08-15 15:37:16

a = [] try: while True: b = int(input()) a.append(sum(range(1,b+1))) except: for j in a: print(j)