提交时间:2024-12-06 19:11:31
运行 ID: 302980
s=int(input()) sum=0 a = 1 while a <= s: sum = sum + a a += 1 print(sum)