Listening part 3 and 4.

This commit is contained in:
Cristiano Ferreira
2024-06-27 22:03:59 +01:00
parent 9a696bbeb5
commit a3cd1cdf59
3 changed files with 14 additions and 7 deletions

2
app.py
View File

@@ -116,7 +116,7 @@ def get_listening_section_3_question():
difficulty = request.args.get("difficulty", default=random.choice(difficulties))
if (len(req_exercises) == 0):
req_exercises = random.sample(LISTENING_EXERCISE_TYPES, 1)
req_exercises = random.sample(LISTENING_3_EXERCISE_TYPES, 1)
number_of_exercises_q = divide_number_into_parts(TOTAL_LISTENING_SECTION_3_EXERCISES, len(req_exercises))