Student Becomes Teacher Bug? wont accept "Lloyd"


#1



Tells me there is no "Lloyd" in my dictionary 'lloyd' with the error message at bottom left.
It does complete the lesson with the code written, but will not proceed to lesson 2.


Code looks correct and displays the lesson complete message. The Lesson complete text is wrong aswell


type or paste code here:

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

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

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

Any and all help appreciated, thanks in advanced!


#2

Just remove the brackets [] around all the names,


#3

@Bandit

Lol Wow thank you. The brackets around the names makes it a list. instructions did not say to make the names a list.

The lesson complete message still shows
'you've earned a badge'
'A day at the supermarket'


#4

Yea, glad I could help @fryontv :grin:


#5

having a similar problem?


#6

@philllll
Double check your Dictionary syntax, looks a little off.

The code checker error clearly states your code error.
I can't tell you exactly where your error is but, you can look at the example in the above posts.
compare that code to yours.

Hope that helps and good luck.
let us know your results


#7

i just added :[] onto the end of things and it worked


#8

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