結果 : how to output error message in python