The name key does not have the value "Lloyd" in your lloyd dictionary


#1

My code returns error:

The name key does not have the value "Lloyd" in your lloyd dictionary

This is my code

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


#2

student name (Lloyd) should be a string, not a list. same for the other students


#3

Hello Thanks for your reply


#4

did it solve your problem?


#5

Yes it did. Thanks! I appreciate


#6