for i in range(2,11): try: if i == i: print (i) if i == 5: exit() except: print ("out") if i == 8: continue else: print(i)