2018.09.18 while ...else

# while...else...

count = 1
while count <= 10:
    count += 1
    print("loop" ,count)

else:
    print("成功")


print("-----------也许有问题--------------")

 

posted @ 2018-09-18 04:06  Jelly的铲屎官  阅读(98)  评论(0编辑  收藏  举报