1514a0b
1
2
3
def maximum_value(test_list): res = [(key, max(lst)) for key, lst in test_list] return res