Gradebook


#1

Alright I dont understand what I did wrong. I created a dictionary and i put keys with values within the dictionary and I keep getting an error.
Here is the code:

lloyed = {
    "name": ["Lloyed"],
    "homework": [],
    "quizzes":[],
    "tests":[],
}
alice = {
    "name":[],
    "homework":[],
    "quizzes":[],
    "tests":[],
}
tyler = {
    "name":[],
    "homework":[],
    "quizzes":[],
    "tests":[],
}

the error says that "global name 'lloyd' is not defined"


#2

Never mind guys. I figured it out. The name was inside [] and i had typed his name wrong. i typed it with an e.

lloyd = {
    "name": "Lloyd",