@property<EOL><INDENT>def answers(self):<DEDENT>
from .question import Question<EOL>from .answer import Answer<EOL>if self.url is None or self.answer_num == <NUM_LIT:0>:<EOL><INDENT>return<EOL><DEDENT>for page_index in range(<NUM_LIT:1>, (self.answer_num - <NUM_LIT:1>) // <NUM_LIT:20> + <NUM_LIT:2>):<EOL><INDENT>html = self._session.get(<EOL>self.url + '<STR_LIT>' + str(page_index)).text<EOL>soup = BeautifulSoup(html)<EOL>questions = soup.find_all('<STR_LIT:a>', class_='<STR_LIT>')<EOL>upvotes = soup.find_all('<STR_LIT:a>', class_='<STR_LIT>')<EOL>for q, upvote in zip(questions, upvotes):<EOL><INDENT>answer_url = Zhihu_URL + q['<STR_LIT>']<EOL>question_url = Zhihu_URL + re_a2q.match(q['<STR_LIT>']).group(<NUM_LIT:1>)<EOL>question_title = q.text<EOL>upvote_num = upvote.text<EOL>if upvote_num.isdigit():<EOL><INDENT>upvote_num = int(upvote_num)<EOL><DEDENT>else:<EOL><INDENT>upvote_num = None<EOL><DEDENT>question = Question(question_url, question_title,<EOL>session=self._session)<EOL>yield Answer(answer_url, question, self, upvote_num,<EOL>session=self._session)<EOL><DEDENT><DEDENT>
获取用户的所有答案.

        :return: 用户所有答案，返回生成器.
        :rtype: Answer.Iterable