clear() is used to delete a dictionary.
1 Like
False
Reason — The clear() method is used to remove all items from the particular dictionary and returns an empty dictionary.
clear()
Answered By
2 Likes
We can repeat a key in dictionary.
In dictionary, two unique keys can have the same values.
The key of a dictionary is a mutable data type.
List can be used as keys in a dictionary.