OrderedDict in Python-question-2

Last Updated :
Discuss
Comments

What is a key feature of OrderedDict that differentiates it from a standard dict in terms of equality checks?

It ignores the order of keys during comparison

It only compares values for equality

It considers both the keys and their order for equality

It requires keys to be unique for comparison

Share your thoughts in the comments