The student becomes the teacher lesson number one


#1

I am getting the error message " File "python", line 3
"homework": []
^
SyntaxError: invalid syntax" and can't seem to figure out why, any help will be much appreciated!

Here is my code:

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

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

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


#2

Hi this part

lloyd= {
"name": "Lloyd"

You missing the , after "Lloyd"


#3

awesome, thanks so much!


#4

I don't understand this at all I've reset the code over and over.


#5

lloyd={ "name":["Lloyd"],
"homework":[],
"quizzes":[],
"tests":[]}
alice={"name":["Alice"],
"homework":[],
"quizzes":[],
"tests":[]}
tyler={"name":["Tyler"],
"homework":[],
"quizzes":[],
"tests":[]}
ERROR : The name key does not have the value "Lloyd" in your lloyd dictionary.
can anybody please help me?


#6

The code format it wants to pretty dumb. Remove the array brackets from around the name key. This error would never happen in a real world python environment.