def start(self, cards):
"""
Start a StudySession with the iterator of cards given.
:param cards: cards iterator.
"""
self.question_num = len(cards)
self.question_count = 1 # starts at 1 for display convenience
for card in cards:
click.clear()
self.show_question(card.question)
self.show_answer(card.answer)
评论列表
文章目录