The Python Script analyzes the records to calculate and print in a text file the following values:
The results are shown below:
Total Months: 86
Total Profit & Losses: $22564198
Average Change: $ -8311.11
Greatest increase in Profits: 16-Aug ($1862002)
Greatest decrease in Profits: 14-Feb ($-1825558)
The Python Script analyzes the records to calculate and print in a text file the following values:
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
The results are shown below:
Total Votes: 369711
Charles Casper Stockham:23.049% (85213)
Diana DeGette:73.812% (272892)
Raymon Anthony Doane: 3.139% (11606)
Winner: Diana DeGette