Python Programming - Dictionaries - Discussion

Discussion Forum : Dictionaries - General Questions (Q.No. 17)
17.
What is the purpose of the dictionary.reverse() method?
Reverses the order of keys in the dictionary.
Reverses the order of values in the dictionary.
Reverses the key-value pairs in the dictionary.
There is no reverse() method for dictionaries.
Answer: Option
Explanation:
Unlike lists, dictionaries do not have a reverse() method.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.