2023 In this challenge you are tasked with helping a small rural town modernize its vote counting process | Assignment Collections
Computer Science 2023 Python Challenge 2
2023 In this challenge you are tasked with helping a small rural town modernize its vote counting process | Assignment Collections
- In this challenge, you are tasked with helping a small, rural town modernize its vote counting process.
- You will be give a set of poll data called election_data.csv. The dataset is composed of three columns:
Voter ID
,County
, andCandidate
. Your task is to create a Python script that analyzes the votes and calculates each of the following:
- The total number of votes cast
- A complete list of candidates who received votes
- The percentage of votes each candidate won
- The total number of votes each candidate won
- The winner of the election based on popular vote.
- As an example, your analysis should look similar to the one below:
Election Results ------------------------- Total Votes: 3521001 ------------------------- Khan: 63.000% (2218231) Correy: 20.000% (704200) Li: 14.000% (492940) O'Tooley: 3.000% (105630) ------------------------- Winner: Khan -------------------------
- In addition, your final script should both print the analysis to the terminal and export a text file with the results.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.