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.


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


#2

here:

"name": ["Lloyd"],

why is Lloyd a list? Why not simply a string?


#3

The names should not be in lists. Simple strings will suffice.


#4

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