結果 : how to throw exception python