A Colorado Board of Elections employee has given you the following tasks to compelte the election audit of a recent local congressional election.
- Calculate the totla number of votes cast.
- Get a complete list of candidates who recieved votes.
- Calculate the total number of votes each candidate recieved.
- Calculate the percentage of votes each candidate won.
- Determine the winner of the election based on the popular vote.
- Data Source: Election Results file
- Software: Python 3.6.1, Visual Studio Code, 1.38.1
The analysis of the election show that:
- The were 369,711 votes cast in the election.
- The candidates were:
- Charles Casper
- Diana DeGette
- Raymon Anthony Doane
- The candidate results were:
- Charles Casper received 23.05% of the vote and 85,213 votes.
- Diana DeGette received 73.81% of the votes and 272,892 votes.
- Raymon Anthony Doane received 3.14% of the vote and 11,606 votes.
- The winner of the election was:
- Diana DeGette who received 73.81% of the votes and 272,892 votes.