From 4864b91b6dbec55e49545d3fad38689d91ad9aed Mon Sep 17 00:00:00 2001 From: Dmitry Bikulov Date: Sat, 13 Sep 2025 18:04:27 +0300 Subject: [PATCH] Learn only half of mult table --- .gitignore | 3 ++- app/main.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8bdaf38..b33a515 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc -static/.DS_Store +.DS_Store +Archive.zip diff --git a/app/main.py b/app/main.py index cacb053..2762c46 100644 --- a/app/main.py +++ b/app/main.py @@ -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)