#!/usr/bin/env python
#Zhangpengfei
count = 0
while count <10:
count +=1
if count == 7:
continue
else:
print(count)

输出结果

C:\Python36\python.exe D:/py1.0/1.1/day1/1-10.py
1
2
3
4
5
6
8
9
10

Process finished with exit code 0

posted on 2018-04-19 18:59  DisCover_ry  阅读(675)  评论(0编辑  收藏  举报