python_7_while

count=0
while True:
    print('count:',count)
    count+=1  # count=count+1
    if count==500:
        break#结束整个循环

  

posted @ 2018-01-03 09:09  耐烦不急  阅读(121)  评论(0编辑  收藏  举报