Original work / Raspberry Pi / Computer projectsUsing try in Python11/03/20151 min reada=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 #PythonPublished 11/03/2015 · Krunk Zhou
Join the conversation