#使用while循环输入1 2 3 4 5 6 8 9 10

 1 #!/usr/bin/env python
 2 #使用while循环输入1 2 3 4 5 6   8 9 10
 3 import time 
 4 start = 1
 5 while True:
 6     if start == 7:
 7         start += 1
 8         continue
 9     print(start)
10     
11     if start == 10:
12         break
13     start += 1
14     time.sleep(1)延时1秒
15 print("end")
原文地址:https://www.cnblogs.com/shiluoliming/p/6215410.html