#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
python --while 练习6
原文:https://www.cnblogs.com/v2018/p/8963322.html