I am getting error Did you create a dictionary named lloyd? Your code threw a "global name 'lloyd' is not defined" error


#1

my code is the following

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

#2

look at at the console, that error message is far more useful.

you miss some , in your tyler dictionary to separate the different key/value pairs


#3

it worked thank u very much


#4

Solved in the second post.


#5