結果 : how to write an error in python