I have the following script:
data = [['A', 4], ['B', 12],
['C', 20], ['D', 38],
['E', 88], ['F', 88]]
print(max(data, key=lambda x: x[1]))
I get as an output only ['E', 88]
. How could I get ['E', 88], ['F', 88]
because both have the same highest value?