blob: 461e7d2e4329466a5cbf14edc9c9d0a4c9288215 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
""" To register a new Exercise, append module name to EXERCISES """
from exercise import Exercise
""" TODO naming convention for 'topic' (aka exercise name) """
Exercise.EXERCISES = { 'addsub_simp': "ExAddSimp", \
'exaddsub': "ExAddSub", \
'exmult': "ExMult", \
'passten': "ExPassTen", \
'extimesadd': "ExTimesAdd", \
'times_div': "ExTimesDiv" }
__all__ = Exercise.EXERCISES.values()
|