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