STUDENT BECOMES THE TEACHER-Lesson Number One-1/9(Can't fix syntax error)


Followed everything in the instructions but I don’t understand why it’s giving me a syntax error. Also says “Did you create a dictionary named lloyd? Your code threw a “global name ‘lloyd’ is not defined” error.” and i have no clue what that means :confused:
Any help is appreciated, thanks :slight_smile:


key value pairs are separated by comma’s (,), they are all misisng in your case?


where should i put these commas?


between the key value pairs.


i’m sorry but what are the key value pairs?



Each key is separated from its value by a colon (:)

key and values are also explained in the lesson, they are the fundamentals of dictionaries

If you work with dictionaries, i make 2 assumptions:

you know the basic of dictonaries, so you know key and values
you know the basic of dictonaries, so you are capable of researching key and values if you forgot. You know the dictonaries, so reading some documentation should be possible

I help on the forum, to work together with the learner to come to a solution.


I see :smiley: thanks man


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