Contact: aviboots(AT)netvision.net.il
38,490 questions
50,157 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' '''