4/11 what's wrong with console...?


#1

I wrote code by using two for statements..
And as you guys can see.. the order of result goes like this
"quizzes"->"test"->"name"->"homework"

All 3 students have same order.
I don't get it...help me


#2

Refer this code
students = [lloyd,alice,tyler]
for student in students:
print student["name"]
print student["homework"]
print student["quizzes"]
print student["tests"]


#3

alternative code I've tried that works

students=[lloyd,alice,tyler]
def students(names):
for item in names:
print lloyd[item]
print alice[item]
print tyler[item]


#4

students = [lloyd, alice, tyler]
for stu in students:
for key in stu:
print stu[key]