Catching Exceptions# ... Use try...except: to catch exceptions. You should specify as precise an exception as you can: try: x = 5 / 0 except ZeroDivisionError as ...
確定! 回上一頁