python while语句写法

count=5
while count>0:
    print 'i love python'
    count=count-1
else:
    print 'over'

posted on 2017-12-07 22:13  lydstory  阅读(212)  评论(0编辑  收藏  举报

导航