标签:odi python tin += continue while env bsp --
#python --while 练习6
#输出 1、2、3、4、5、6、8、9、10:
#!/usr/bin/env python
#-*- coding:utf8 -*-
num = 1
while num <= 10:
if num == 7:
num += 1
continue
print(num)
num += 1
标签:odi python tin += continue while env bsp --
原文地址:https://www.cnblogs.com/v2018/p/8963322.html