Dictionary is unordered . What do I mean by that?
You can tell that these 2 dictionaries are equal . Although the order of the keys are not same. But the values are same.
But for lists, the order does matter.
These 2 lists are not equal as the order of the data or value is not same.
SO, this is ordered & unordered means.
Top comments (0)