Python having trouble with lists in student becomes the teacher



Please show us your code, and any error messages. Did you create a list of identifiers, or strings?


students = [“Lloyd”, “Alice”, “Tyler”]
it keeps saying that Lloyd isn’t in the list named students


The strings are values in the individual dictionaries. Our list will identity those dictionaries, not the values inside them.

students = [lloyd, alice, tyler]


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.