The diagram wrt identical keys in dictionaries, shows wrong output sequence

Screen Link:

My Code:

{'a_key' : 5, 'another_key' : 2, 'yet_another_key' : 4}

this should be the output

Hi @karthikaru88,

It depends on the version of Python: in Python 3.7 and later versions, dictionaries are sorted by the order in which items were inserted. In earlier versions, dictionaries were unordered. Hence, in older versions of Python, your output is identical to that in the mission screen, despite different sequence of items.