1/11 What i'm doing wrong?


#1

This is my code, i made everything but it keeps showing me this error message:
"The name key does not have the value "Lloyd" in your lloyd dictionary."

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

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

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

#2

That is happening to me as well
edit: don't put brackets around 'name': ['Lloyd'],
or any of the other keys with strings inside

See my completed code:

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


#3

@kevinandr:
Have the "name" key be the name of the student (that is, lloyd's name should be "Lloyd") and the other keys should be an empty list. (We'll fill in these lists soon!)

You're supposed to simply write 'Lloyd' as the name key, no need to have another list with a single element in it.
Try fixing that and it should work.