結果 : how to implement exception handling in python