Student Becomes the Teacher


#1



https://www.codecademy.com/courses/python-beginner-en-qzsCL/0/1?curriculum_id=4f89dab3d788890003000096


Oops, try again. The name key does not have the value "Lloyd" in your lloyd dictionary.


JUST WORK FOR ME lol, Im just dont understand why it won't work. I have tried it on the raspi and it worked. Any help in understanding why it wont work would be great.


 lloyd = {
    "name": ["Lloyd"],
    "homework":[],
    "quizzes": [],
    "tests": []
    }
alice = {
    "name": ["Alice"],
    "homework": [],
    "quizzes": [],
    "tests": []
    }
tyler = {
    "name": ["Tyler"],
    "homework": [],
    "quizzes": [],
    "tests": []
    }


#2

im ok now i got it, had [ ] when there should have been none sorry for posting a problem with out reading thru fully.

lloyd = {
"name":"Lloyd",
"homework":[],
"quizzes": [],
"tests": []
}
alice = {
"name": "Alice",
"homework": [],
"quizzes": [],
"tests": []
}
tyler = {
"name": "Tyler",
"homework": [],
"quizz


#3

I did the same thing! Super helpful lol thanks!


#4

Hahaha! Same here! I was going out of my mind trying to figure out what I was doing wrong! :sweat_smile:


#5

Thanks mate, I did the same !


#6

why don't you need the [] ?


#7

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