i = 1
while i <= 100:
if i%2 == 0:
print(i)
i += 1
练习题:求1~100所有偶数
最新推荐文章于 2023-07-20 21:58:15 发布
i = 1
while i <= 100:
if i%2 == 0:
print(i)
i += 1