try : # Code that may raise an exception except (ValueError, TypeError) as e: # Catch only ValueError and TypeError exceptions. Or you can pass multiple except ...
確定! 回上一頁