Choosing a maximum randomly in the case of a tie?,"max(l, key=lambda x: (x[1], random.random()))"