Python having trouble with lists in student becomes the teacher


#1

https://www.codecademy.com/courses/learn-python/lessons/student-becomes-the-teacher/exercises/put-it-together?action=lesson_resume


#2

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


#3

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


#4

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

students = [lloyd, alice, tyler]

#5

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