結果 : how to print error message in python