i = 1
while i <= 100:
if i%2 == 1:
print(i)
i += 1
练习题:求1~100所有奇数
最新推荐文章于 2024-05-30 11:43:13 发布
i = 1
while i <= 100:
if i%2 == 1:
print(i)
i += 1