def __get_percent_elections_won(num_wins, party, num_contiguous):
    """Get the percentage of elections won by a party

    :param num_wins: A dictionary containing parties as keys and election wins as values.
    :param party: The party.
    :param num_contiguous: The number of contiguous redistrictings.
    :return: The percent of total elections won.
    """
    num_elections_won = num_wins[party]
    return num_elections_won / num_contiguous * 100