Lesson number One (lloyd dictionary error)


#1

lloyde = {
"name":"Lloyde",
"homework":[],
"quizzes":[],
"tests":[]
}

alice = {
"name":"Alice",
"homework":[],
"quizzes":[],
"tests":[]
}
tyler = {
"name":"Tyler",
"homework":[],
"quizzes":[],
"tests":[]
}
I keep getting the error "Oops, try again. Did you create a dictionary named lloyd? Your code threw a "global name 'lloyd' is not defined" error." Is there something wrong wth my code? Thanks!


#2

you made a typo at first line of code ,can you find it?


#3

Do I need to put quotes around lloyde?


#4

try to find the error,can you see it now?
lloyde?


#5

ohhhhhhh, thank you, i totally missed that!


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.