Run ID:142208
提交时间:2026-01-01 17:21:10
#方法三:while循环 res=0 #初始化累加器的值为0 i=1 #每次要加的数 while i<=100: res+=i i+=1 print(res)