mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
add answer to question
This commit is contained in:
@@ -52,6 +52,9 @@ def end_question():
|
||||
win_msg = '{} scores with {:.2f}%'.format(winner, score)
|
||||
lose_msg = 'nobody scores.'
|
||||
|
||||
the_answer = get_questions()[get_current_question(quizcfg)+1]
|
||||
lines.append('Answer to the question: {}'.format(the_answer))
|
||||
|
||||
if score >= 50.0:
|
||||
lines.append(win_msg)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user