Oops, try again. It looks like Lloyd is not in the students list


#1



can somebody tell me what cause this error 


Oops, try again. It looks like Lloyd is not in the students list. 


lloyd = {
    "name": "Lloyd",
    "homework": [],
    "quizzes": [],
    "tests": []
}
alice = {
    "name": "Alice",
    "homework": [100.0, 92.0, 98.0, 100.0],
    "quizzes": [82.0, 83.0, 91.0],
    "tests": [89.0, 97.0]
}
tyler = {
    "name": "Tyler",
    "homework": [0.0, 87.0, 75.0, 22.0],
    "quizzes": [0.0, 75.0, 78.0],
    "tests": [100.0, 100.0]
}
lloyd["homework"] = [90.0, 97.0, 75.0, 92.0]
lloyd["quizzes"] = [88.0, 40.0, 94.0]
lloyd["tests"] = [75.0, 90.0]
students = ["Lloyd","Alice","Tyler"]
print students


#2

What have you put into the students list? The lesson is asking you to put each student's dictionary into the list.


#3

Done.Thanks a lot ,i do not notice it.


#4

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