Put it together - lloyd is not on the students list


#1

Continuing the discussion from 3/9 put it together:

Hi,
"lloyd" is in lower case here, yet my code is still not working. I must be missing something but I cant see what it is. I keep receiving an error message that lloyd is not on the students list.


Replace this line with your code.


#2

on line 20, where you create your lists, you should store the objects in the list, not a string:

students = [lloyd,...]

now you stored your lloyd object in your student list!


#3

Got it working, thanks again!


#4

take a moment to print your list:

print students

to see that your list now holds the objects, this is important to realize later