count = 0 while True: print("count:",count) count = count+1 if count == 1000: break
最明白的while
原文:https://www.cnblogs.com/liandeng/p/9580422.html