[Tutor] Curious dictionary printing
cranky.frankie at gmail.com
Tue May 8 13:27:48 CEST 2012
On Mon, May 7, 2012 at 10:31 PM, bob gailer <bgailer at gmail.com> wrote:
> Asking why does it not do what I want is not IMHO the best way to win
> friends here.
Good morning to you to, Bob.
I see now that dictionaries in Python act like relational databases in
that there is no inherent ordering. At first, when I simply wanted to
print one entry and it came out in what looked like a random order,
this didn't occur to me. A normal "dictionary" is in fact ordered.
Sorry for the disturbance.
Frank L. "Cranky Frankie" Palmeri
Risible Riding Raconteur & Writer
“The problem with quotes on the Internet is that
it is often difficult to verify their authenticity.”
- Abraham Lincoln
More information about the Tutor