So, I construct a dictionary (with tuples) in python using this code:
d = { (x , x + 1) : x for x in range(0 , 10)}
print(d)
And I end up printing {(0, 1): 0, (1, 2): 1, (6, 7): 6, (5, 6): 5, (7, 8): 7, (8, 9): 8, (4, 5): 4, (2, 3): 2, (9, 10): 9, (3, 4): 3}
My question is: why doesn't it respect a specific order, the one I used for constructing the dictionary?