continue and break

#-*- coding:utf-8 -*-
start = 1
while True:
if start == 7:
start += 1
continue

print (start)
if start == 10:
break
start += 1
posted on 2018-05-14 22:59  浪漫宙斯  阅读(63)  评论(0)    收藏  举报