get_dict_entry_by_value#

get_dict_entry_by_value(x: dict, value_select_fn=<built-in function max>)[source]#

Get from dictionary the entry with value that returned from value_select_fn.

Returns
Tuple: key, value