Why are my student dictionaries not accepted?
There are a few common errors listed below:
- Capitalization issues will prevent you from passing. Remember that Codecademy checks for exactly what the instructions ask for, so your variable names should be all lowercase, like
lloyd, but their names stored under their
"name"keys should be capitalized like a normal name, like
- Incorrect dictionary syntax will give you lots of errors! Remember that dictionaries are key-value pairs, and that each value except the last in the dictionary must have a comma after it.
"name"key’s value does not go in brackets
[ ], it’s just a string.