Python Programming - Dictionaries - Discussion

Discussion Forum : Dictionaries - General Questions (Q.No. 2)
2.
How do you retrieve all keys from a dictionary?
dictionary.keys()
dictionary.get_keys()
dictionary.extract_keys()
dictionary.all_keys()
Answer: Option
Explanation:
The keys() method is used to retrieve all keys from a dictionary.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.