python-while 循环

while循环:

1 count = 0
2 
3 while True:
4     print("count:%s"%count)
5     count += 1
6     if count >1000:
7         break
View Code

 

posted @ 2018-08-13 20:55  archerzon  阅读(100)  评论(0编辑  收藏  举报