CBSE Class 11 Computer Science
Question 17 of 39
Tuples and Dictionary — Question 18
Back to all questionsThe correct method to retrieve all values from a dictionary is values(), not value().
The corrected code is:
d1.values()The correct method to retrieve all values from a dictionary is values(), not value().
The corrected code is:
d1.values()