import time for i in range(10,0,-1): print i time.sleep(1) print "blast off"
python练习-倒计时
原文:http://huzhongliang.blog.51cto.com/1817180/1890747