I am following Exercise 40 from the book "Learn Python the Hard Way." I just noticed the following:
In [15]: stuff
Out[15]:
{1: 'Wow',
2: 'Neato',
'age': 36,
'city': 'San Francisco',
'height': 74,
'name': 'Zed'}
In [16]: print stuff
{'city': 'San Francisco', 2: 'Neato', 'name': 'Zed', 1: 'Wow', 'age': 36, 'height': 74}
Why is there a difference in the order of the items of the dictionary in the two outputs?