Run ID:63079

提交时间:2024-01-05 20:01:56

n = int(input('请输入数字n')) s = 0 for i in range(1,1000): s = s+i print('从1到n和是',s)