Lesson Number One - Help! I'm stuck


#1

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

Does anybody know what I did wrong? it keeps saying "Oops, try again. Did you create a dictionary called lloyd? your code threw a 'global name "lloyd" is not defined' error".


#2

keys + values are separated in dictionary with a ,:

"name": "lloyd" /* missing , */

goes for all the property's + values

And inside the dictionary, the name Lloyd is spelled with uppercase first letter


#3

It still says the same error, though.


#4

can i see an updated version of your code?


#6

Never mind, I got it. thanks! Sorry it took so long to reply.