1 import questions
, statistic
6 self
.q
.AskQuestion (qid
)
8 self
.question
= self
.q
.question
9 self
.answera
= self
.q
.answera
10 self
.answerb
= self
.q
.answerb
11 self
.answerc
= self
.q
.answerc
12 self
.answerd
= self
.q
.answerd
14 def EvalQuestion(self
, answer
):
15 if self
.q
.correct
== answer
:
21 def FindNewQuestion(self
):
24 def FindBadQuestion(self
):
27 def FindGoodQuestion(self
):
31 self
.q
= questions
.Questions()
32 self
.s
= statistic
.Statistic()