2 ms·
In Python isn’t that either this, for the first part of your sentence: students: list[tuple[int, Student]] Or the second half and a more idiomatic structu
by acdha 2y ago
In Python isn’t that either this, for the first part of your sentence:
students: list[tuple[int, Student]]
Or the second half and a more idiomatic structure:
students: dict[int, Student]