def argmin_random_tie(seq, func):
 return random.choice(argmin_list(seq, func))

def argmin_random_tie ( seq , func ) : return random . choice ( argmin_list ( seq , func ) )
return an element with lowest func score; break ties at random .