Run ID:63068

提交时间:2024-01-05 19:50:15

s = 0 n = int(input("请输入一个数字:")) for i in range(1,n+1): print(i) s = s+i print(s)