Hi,
On 7 May 2012 18:16, Cranky Frankie <[email protected]> wrote:
> In 3.2.2 in IDLE I have this dictionary entry:
>
> Namath = {"first_name": "Joe", "last_name": "Namath", "phone": "
> 212-222-7777",\
> "email": "[email protected]", "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 - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor