/Election_Analysis

Using Python for election analysis

Primary LanguagePython

Election_Analysis

Project Overview

A Colorado Board of Elections employee has given you the following tasks to compelte the election audit of a recent local congressional election.

  1. Calculate the totla number of votes cast.
  2. Get a complete list of candidates who recieved votes.
  3. Calculate the total number of votes each candidate recieved.
  4. Calculate the percentage of votes each candidate won.
  5. Determine the winner of the election based on the popular vote.

Resources

Summary

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.

Challenge Overview

Challenge Summary