Files

- main.py
- Class 1.txt
- Class 2.txt
- students.txt
- Task 1.py
- Task 2.py
- Task 3.py

main.py

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

```
# This is actually an old A453 activity that was
# split into a number of tasks - these are contained
# in the other .py files in the project.
#
# students.txt contains a list of which classes the
# students are in. The Class X.txt files are the
# scores for each class. Task 2 is the same as
# Task 2 except that the results are saved.
from importlib import import_module
module = ("Task 2","Task 3")
option = -1
while option < 0 or option > 2:
option = int(input("Enter a single digit to select one of the following options:\n0: Take the quiz\n1. Analyse the results\n2. Exit\n"))
if option < 2:
import_module(module[option])
```