Creating students


#1

even I have done everything this seem to give error ! Is this the stupid challenge to meet Code Academy's requirement ?

lloyd = {
 "name" : ["Lloyd"],
 "homework" : [],
 "quizzes" : [],
 "tests" : []
 }
print lloyd["name"]

alice = {
 "name" : [],
 "homework" : [],
 "quizzes" : [],
 "tests" : []
 }

tyler = {
 "name" : [],
 "homework" : [],
 "quizzes" : [],
 "tests" : []
 }

The name key does not have the value "Lloyd" in your lloyd dictionary
#2

here:

"name" : ["Lloyd"],

Lloyd is a list, while it should be a string.


#3

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