Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
def f(): n = int("abc") try: f() except ValueError as e: print("Error: ", e) ''' run: Error: invalid literal for int() with base 10: 'abc' '''