結果 : how to print custom error message in python