Hi, On 7 May 2012 18:16, Cranky Frankie <cranky.fran...@gmail.com> wrote:
> In 3.2.2 in IDLE I have this dictionary entry: > > Namath = {"first_name": "Joe", "last_name": "Namath", "phone": " > 212-222-7777",\ > "email": "joe.nam...@gmail.com", "stadium": "Shea Stadium"} > > Why is it out of order? Python dictionaries (unlike real physical language dictionaries), are not ordered, and should be thought of as "an unordered set of *key: value*pairs"[1] Walter [1] http://docs.python.org/tutorial/datastructures.html
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor