Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 12)
12.
Which function is used to retrieve the keys of a dictionary?
dict.keys()
dict.get_keys()
dict.extract_keys()
dict.getkeys()
Answer: Option
Explanation:
The keys() method is used to retrieve the keys of a dictionary in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.