Ordering numbers

Kent Johnson kent at kentsjohnson.com
Thu Jan 19 07:51:50 EST 2006

yawgmoth7 wrote:
> I have a dictonary here:
> seq = {8:0x13AC9741, 10:0x27592E8, 4:0x4EB25D, 5:0x9D64B, 7:0x13AC9,
> 1:0x2759, 11:0x4EB, 3:0x9D, 9:0x13, 2:0x2, 0:0x0, 6:0x0}
> Python always prints them in order, from least to greatest. But I
> wanna have it show them in hte order that I put in. Thanks for all
> your help



More information about the Python-list mailing list