Computer Science
Why is a dictionary termed as an unordered collection of object?
Python Dictionaries
19 Likes
Answer
Dictionary is termed as an unordered collection of object because the printed order of elements is not same as the order in which the elements are stored.
Answered By
10 Likes
Related Questions
State whether the following statement is True or False :
The copy( ) method of dictionaries creates a shallow copy of a dictionary.
State whether the following statement is True or False :
The fromkeys( ) creates a dictionary with given keys, each having a different value.
What type of objects can be used as keys in dictionaries ?
Though tuples are immutable type, yet they cannot always be used as keys in a dictionary. What is the condition to use tuples as a key in a dictionary ?