try: num = int("abc") except ValueError: print("Type Error") except: print("Other Error")
Type Error
Other Error
无输出
报错