Given a list of tuples, I'm looking to get the most frequently occurring tuple BUT if there are "joint winners" it should pick between them at random.
tups = [ (1,2), (3,4), (5,6), (1,2), (3,4) ]
The above list should return either (1,2)
or (3,4)
at random for the above list