Do I need to make students a list of their string names, or the variable names?


#1

Question

Do I need to make students a list of their string names, or the variable names?

#Answer
The students list is going to be used to access the entire dictionaries, so we should fill it with the variable names used to name each student dictionary, lloyd, alice, and tyler, without quotes around them.
Putting quotes around their names makes them string values, not variable names that we can reference later.


FAQ: Learn Python: Student Becomes the Teacher - What's the Score? FAQ: Learn Python: Student Becomes the Teacher - Put It Together