编辑代码
Python代码
3.11.0
2.7.17
运行
i
=
1
sum
=
0
while
i<=100:
sum
=
sum+i
i
=
i+1
print(sum)