Question: Dictionary keys must be unique. At Cornell, we often use netids for managing grades because all undergraduates have them and they are easy to look

Dictionary keys must be unique. At Cornell, we often use netids for managing grades because all undergraduates have them and they are easy to look up (as opposed to more obscure forms of identification). But these are not the only way we could manage student grades. What other data could we use as a student key? Does it always have to be a string?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!