結果 : how to accept an error in python