結果 : how to write exceptions in python