Wats wrong?


#1


lloyd={
'name':'Lloyd'
'homework':[]
'quizzes':[]
'tests':[]
}

alice={
'name':'Alice'
'homework':[]
'quizzes':[]
'tests':[]
}

tyler={
'name':'Tyler'
'homework':[]
'quizzes':[]
'tests':[]
}


Replace this line with your code.


#2

Edit: You are missing commas between your key/value pairs

example_dict {

   'age': 18, #comma spliting the two key/value pairs
    'grade': 10

}

#3

What do you mean? I think he is missing a lot of comma's to separate key/value pairs


#4

Looolll excuse my low coffee intake, Idk what I was thinking :joy: Editing post... (going to get a cup of joe rn)


#5

stillshowing wrong syntax

File "python", line 17
'homework':[],
^
SyntaxError: invalid syntax


#6

Can I please see your whole code now :slight_smile:


#7

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

alice={
'name':'Alice',
'homework':[],
'quizzes':[],
'tests':[]
}

tyler={
'name':'Tyler'
'homework':[],
'quizzes':[],
'tests':[]
}


#8

'name':'Tyler' // missing ,

#9

students=[lloyd{},alice{},tyler{}]
is it rt list???


#10