# while...else... count = 1 while count <= 10: count += 1 print("loop" ,count) else: print("成功") print("-----------也许有问题--------------")