4/9 Lloyd is here -_-


#1

Here my code.
lloyd = {
"noms": "Lloyd",
"devoirs": [90.0, 97.0, 75.0, 92.0],
"quiz": [88.0, 40.0, 94.0],
"tests": [75.0, 90.0]
}
alice = {
"noms": "Alice",
"devoirs": [100.0, 92.0, 98.0, 100.0],
"quiz": [82.0, 83.0, 91.0],
"tests": [89.0, 97.0]
}
tyler = {
"noms": "Tyler",
"devoirs": [0.0, 87.0, 75.0, 22.0],
"quiz": [0.0, 75.0, 78.0],
"tests": [100.0, 100.0]
}
etudiants = [lloyd, alice, tyler]
for etudiant in etudiants:
print "noms : %s" % etudiant ["noms"]
print "devoirs : %s" % etudiant ["devoirs"]
print "quiz : %s" % etudiant ["quiz"]
print "test : %s" % etudiant ["tests"]
Oops, try again! It seems that Lloyd hasn't been affiching.
Help me please
(sorry for my English, i'm learning it ^^)


#2

try to put the 's' at tests like this :

print "tests:%s" % etudiant["teste"]