The following are links to additional questions that our community has asked about this exercise:
This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
Almost correctly, I was going mad with this exercise. Then I had to get the solution. Im not sure what it was but I was missing the empty brackets. That still doesn’t explains why “homework” is incorrect. You should delete the last commas from tests and then it should be alright.
True, I didn’t know that I should write all their names. I might have an OCD with wordings but it should have said:
" Have the “name” key be the name of EACH students (LIKE,lloyd ‘s name should be "Lloyd" ) and the other keys should be an empty list (We’ll fill in these lists soon!)
or something like this. It confused me few times to the point I wanted to put my keyboard through my screen…
The reason why a syntax error is thrown in the post by @samuelmacintyre92642 that you replied to is due to a missing comma. If you omit the indenation it is more obvious.
lloyd = {"name": "Lloyd""homework": []}
This should be lloyd = {"name": "Lloyd", "homework": []}
Ideally the trailing commas after the values for ‘tests’ are supplied shoud be removed too. tests: [], ←
i was very confused with the instruction and after trying for 15-20 mins i decided to view the solutions. I thought it was just me who didn’t understand the instruction!
Hi - Can someone help me understand why it keeps throwing off error? It says that: your code threw a “global name ‘lloyd’ is not defined error”. I don’t quite understand what’s wrong with my code. Thank you!
Hello - thanks for the advice. I changed everything to lower case and now getting another error instead:
“The name key does not have the value “Lloyd” in your lloyd dictionary”
I thought the instruction was to have the name key with the student name’s first letter to be capitalized. I really hate this exercise. very confusing.
I agree. The instruction is poorly worded and I have no idea this is their requirement for the ‘name’ key. They could have made the instructions easier to be understood.