1/11 'Student Becomes the Teacher'


#1


Please, help. What is wrong?


#2

After your colons : on homework, quizzes, and tests, you need to add [], to create an empty list where values will later go.


#3

n what about 'global name "llyod"..' remark??


#4

Mine doesn't work even with square brackets:

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

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

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


#5

Never mind, I have worked out where my problem was, I didn't need the square brackets around the names.


#6

Thank you so much! I was having the same issue and your solution fixed it


#7

Thanks! I was really stuck!