while else ,pass执行else,break不执行else

count = 0
while count <=5:
count += 1
if count == 3:pass
print("Loop".count)

else:
print("循环正常执行完啦")
print("-------out of while loop ------")

 


posted on 2019-07-19 10:40  诚实的表达自己  阅读(231)  评论(0编辑  收藏  举报