Lesson 1


#1



i created the lists, but it is throwing error kindly advice , thank you!

https://www.codecademy.com/courses/python-beginner-en-qzsCL/0/1?curriculum_id=4f89dab3d788890003000096

Oops, try again. Did you create a dictionary named lloyd? Your code threw a "global name 'lloyd' is not defined" error.


llyod = {"name" : ["Lyod"], "homework" : [], "quizzes" : [], "tests":[]}
alice = {"name":["Alice"],"homework":[],"quizzes":[],"tests":[]}
tyler = {"name":["Tyler"],"homework":[],"quizzes":[],"tests":[]}


#2

the name of the students should be strings, not lists, you also misspelled LLoyd


#3

thank you so much.
yes the spelling was exactly the error..
also,
i was creating a string not a list..!
thank you


#4

here:

["Tyler"]

tyler is a list, it should be a string. Why would you store the students names as list? Strings make more sense


#5

yes..!
thank you so much


#6

Hello, what's wrong with my code?

lloyd = {'Name': 'Lloyd', 'homework': [], 'quizzes': [], 'tests': []
}
alice = {'Name': [], 'homework': [], 'quizzes': [], 'tests': []
}
tyler = {'Name': [], 'homework': [], 'quizzes': [], 'tests': []
}

Thanks for your help.


#7

the name key should be all lowercase letters

why do the alice and tyler dictionary have an empty list as value for name key?


#8

Thanks for your help.


#9