Run ID:63069

提交时间:2024-01-05 19:53:14

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