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
13 self
.hint
= self
.q
.hint
15 def EvalQuestion(self
, answer
):
16 if self
.q
.correct
== answer
:
21 self
.s
.IncreaseCounter (self
.id, c
)
25 def FindNewQuestion(self
):
28 def FindBadQuestion(self
):
31 def FindGoodQuestion(self
):
35 self
.q
= questions
.Questions()
36 self
.s
= statistic
.Statistic()