0
点赞
收藏
分享

微信扫一扫

Python 1~100取偶数

i =1
while i <= 100:
if i %2 == 0:
print(i)
i +=1
print()

while 语句要有头有尾

举报

相关推荐

0 条评论