#coding=utf-8 count = 0 while count <=5: count +=1 if count == 3:break print("loop",count) else: print("正常执行完了!") print("----over----") #当循环被break打断的话就不会执行else