Module 3 Challenge (for Vanderbilt Data Analytics Bootcamp)
Python script (main.py) to read profits/losses over time from csv file and write the following results to a text file:
- Total number of months included in the data set
- Net total amount of profits/losses over the entire period
- Average of the changes in profits/losses over the entire period
- Greatest increase in profits (date and amount)
- Greatest decrease in profits (date and amount)
Python script (main.py) to read election ballots from csv file and write the following results to a text file:
- Total number of votes cast
- Complete list of candidates who received votes
- Total number and percentage of votes won for each candidate
- Winner of the election