weixin_慕移动0314716
2020-11-14 11:06
>>> num = 2
>>> sum = 0
>>> while True:
if num >= 1000:
break
sum = sum + num
num = num + 2
print(sum)
num = 2
sum = 0
while True:
if num >= 1000:
break
sum = sum + num
num = num + 2
print(sum)
Python3 入门教程(新版)
154172 学习 · 1075 问题
相似问题