打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

while 循环居然可以用else

while 循环居然可以用else

python 3

 
while a<50:
    print a
    a=a+1
else:
    print"over."

 

 

posted on 2017-02-24 11:18  星辰大海ゞ  阅读(354)  评论(0编辑  收藏  举报