Examveda

What is the output of the following code:
my_dict = {'a': 1, 'b': 2, 'c': 3}
my_dict.values()
print(my_dict)

A. {'a': 1, 'b': 2, 'c': 3}

B. [1, 2, 3]

C. {1, 2, 3}

D. {'values': [1, 2, 3]}

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python