Lesson 1 broken


#1



11-1


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": [],
}    

print lloyd["name"]


#2

Remove the [ and ] around "Lloyd" - there's only one item instead of a list.


#3

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