Possible Duplicate:
Why is python ordering my dictionary like so?
Why iteration on this dict
d = {'tors':None,
'head':None,
'armr':None,
'arml':None,
'legl':None,
'legr':None}
for k in d.keys():
print k
will output keys in different order:
head
legl
armr
arml
tors
legr