s=0 i=0 while i <100: s+=i i+=1 print(s)
s=i=0 while i<100: i+=1 s+=i print(i) print(s)
有帮助请采纳,有问题继续交流,你的采纳是对我回答的最大的肯定和动力