how would I go about assigning more than one value to a dictionary - rather like a list.
for example I have students who each have courses. Each student name is a key (unique)
e.g as a dictionary
student = {"name":"course"}
but students can have more than one course
student = {"name":"coursecode1", "coursecode2"} doesn't work.
I could make it a list?
student = [Joe, Jenny, Tom]
course = [MATH101, COMP202, BIO101]
but how to link the lists? i.e Joe studies MATH101 and COMP202
- how to sort a dictionary - i.e I Want to see what students COMP202 has.
This should be easy but I'm very new :(