Class lists

At EEBE school each student is enrolled in various groups of different
subjects. Those enrollment data are saved in a dictionary that
associates the ID of each student with the list of groups in which he
has enrolled.

The school has to provide each teacher with the list of students
enrolled in their groups.

Design a function @listas_clase(matr)@ that, given a dict @matr@ with
enrollment data like the one described at the beginning, returns another
dictionary that associates each group with the alphabetically sorted
list of the IDs of the students enrolled in that group.

Sample session

Problem information

Author: InfBesos

Generation: 2026-01-25T14:43:35.063Z

© Jutge.org, 2006–2026.
https://jutge.org
