def vote_best(candidates, votes, n_winners):
    """Select the artifact with the single best evaluation as the winner of
    the vote.

    Ties are resolved randomly.

    :param candidates: All candidates in the vote
    :param votes: Votes from the agents
    :param int n_winners: The number of vote winners
    """
    best = [votes[0][0]]
    for v in votes[1:]:
        if v[0][1] > best[0][1]:
            best = [v[0]]
    return best
def vote_best ( candidates , votes , n_winners ) : best = [ votes [ 0 ] [ 0 ] ] for v in votes [ 1 : ] : if v [ 0 ] [ 1 ] > best [ 0 ] [ 1 ] : best = [ v [ 0 ] ] return best
Select the artifact with the single best evaluation as the winner of
    the vote.

    Ties are resolved randomly.

    :param candidates: All candidates in the vote
    :param votes: Votes from the agents
    :param int n_winners: The number of vote winners