Examveda

What is the purpose of the values() method for dictionaries?

A. Returns a list of all values in the dictionary

B. Returns a list of all keys in the dictionary

C. Returns a list of key-value pairs in the dictionary

D. Returns a list of items in the dictionary

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python