Lesson Number One


#1



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


Oops, try again. The name key does not have the value "Lloyd" in your lloyd dictionary.


I do not understand how the value "Lloyd" is not being recognised.


lloyd = {
    "name": ["Lloyd"],
    "homework": [],
    "quizzes":[],
    "tests":[],
}

alice = {
    "name": ["Alice"],
    "homework": [],
    "quizzes": [],
    "tests": [],
}

tyler = {
    "name": ["Tyler"],
    "homework": [],
    "quizzes": [],
    "tests": [],
}


#2

This is a list. Should be a string.

We want to be able to access it, using,

lloyd['name']

Written as you have above it will need to be accessed as,

lloyd['name'][0]

which the SCT is not programmed to do.

Same applies to the other two dictionaries.


#3

I thought the purpose of this was to make a list, or am I missing something key here?


#4

The three grade categories are lists because there are multiple data points in each. The name is a singular piece of identification data, so a string.


#7