Line 3 always returns syntax error no matter what lesson or what code im doing


#1

I dont understand why but every lesson ive done since pyglatin ive had to skip because it says i have a syntax error on line 3
if you want to check my code here it is
lloyd = {
"name": ['Lloyd']
"homework": []
"quizzes": []
"tests": []
}


#2

property value pair you should have a comma to separate key value pairs:

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

#3

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