blob: fbb90ef48c1e230bbef94987fc5b8764de7f61b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# -*- coding: utf-8 -*-
import sys
sys.path.append("..")
import challenges_creator
def run_mc_challenges():
mc_challenges = challenges_creator.get_mc_challenges()
for challenge_type, challenges in mc_challenges.items():
print challenge_type
print ""
for c in challenges:
question, answers, correct, level, image = c
print question
for ans in answers:
print ans
sys.stdin.readline()
print ""
print ""
run_mc_challenges()
|