CBSE Class 11 Computer Science Question 74 of 112

Dictionaries — Question 14

Back to all questions
14
Question

Question 14

Will max( ) and min( ) always work for a dictionary ?

Answer

No, max( ) and min( ) will not always work for a dictionary. They will only work with dictionaries having homogeneous keys that can be compared.