while a<50: print a a=a+1 else: print"over."
while 循环居然可以用else
原文:http://www.cnblogs.com/wjoyxt/p/6437716.html