Python Programming - Dictionaries - Discussion
Discussion Forum : Dictionaries - General Questions (Q.No. 35)
35.
How do you extract all values from a dictionary and store them in a list?
Answer: Option
Explanation:
The
values()
method is used to extract all values from a dictionary, and list()
is used to convert it into a list.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers