原创 / 树莓派 / 电脑研究Python Try的使用2015/11/031 分钟阅读a=0 while a<1: try: a=a+1 number=int(raw_input(“What is the number?”)) except: print “Error!Please enter a number!” a=a-1 #Python写于 2015/11/03 · Krunk Zhou
一起聊聊