Learn only half of mult table
This commit is contained in:
@@ -115,7 +115,7 @@ class Session:
|
||||
candidates.add(correct + off)
|
||||
# Random other table values
|
||||
while len(candidates) < 20:
|
||||
candidates.add(random.randint(2, 10) * random.randint(2, 10))
|
||||
candidates.add(random.randint(2, 5) * random.randint(2, 5))
|
||||
|
||||
# Remove the correct answer and pick three unique distractors
|
||||
candidates.discard(correct)
|
||||
|
Reference in New Issue
Block a user