python_7_while

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

  

原文地址:https://www.cnblogs.com/tianqizhi/p/8182131.html