For the record


#1



https://www.codecademy.com/courses/python-beginner-en-qzsCL/0/4?curriculum_id=4f89dab3d788890003000096


I mean I submitted the code and got the congratulations go on to the next lesson but all the input is just splattered on the output screen with no order. I tried playing with it but it got to the point where I was basically having a long code telling it it what to do word for word. then whats the point of a FOR LOOP then, right?
Is there a way I could put them in order?


students = [ lloyd, alice, tyler]

for key in lloyd:
        print lloyd[key]
        print alice[key]
        print tyler[key]


#2

Dictionaries are unodered. You can use sort, but you can't use the original order


#3

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