結果 : how to return error in python