11. Student becomes teacher, odd error


#1


#2

Hi try to remove your students name inside [ ] just put "Lloyd" ; "Alice"; "Tyler"


#3

Awesome! Thank you so much! Really appreciate the help!


#4

hi... i tried that.. but received new error. "Oops, try again. It looks like students is not a list."


#5

i found the solution. it suppose to be
students = [lloyd,alice,tyler]
without the quotes.
sorry for bothering.. =)


#6

The previous suggestion did not work for me :frowning:

I finally solved it like this:

students = ['Lloyd', 'Alice', 'Tyler']
lloyd = {
"name": students[0],
"homework": [],
"quizzes": [],
"tests": [],
}

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

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


#7

2 posts were split to a new topic: 11 students become teachers