結果 : how to implement exception in python