def get_feedback(self, question_id):
response = self.get_response(question_id)<EOL>item = self._get_item(response.get_item_id())<EOL>if response.is_answered():<EOL><INDENT>try:<EOL><INDENT>return item.get_feedback_for_response(response)<EOL><DEDENT>except errors.IllegalState:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return item.get_feedback()<EOL><DEDENT>
get feedback for item