KnowledgeBoat Logo

Computer Science

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

Python Dictionaries

1 Like

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.

Answered By

3 Likes


Related Questions