Oops, try again. Did you give lloyd the name key?


#1

this is my code and i'm getting the same error every time and i don't know why

"Oops, try again. Did you give lloyd the name key?"

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

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


#2

I think the key should be "name" not "names" and lloyd["name"] should be a string, not a list with a string in it.