#-*- coding:utf-8 -*-start = 1while True: if start == 7: start += 1 continue print (start) if start == 10: break start += 1
continue and break
原文:https://www.cnblogs.com/gwxu/p/9038642.html