Question: Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and uses a dictionar... Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and uses a
Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and uses a dictionar... Write a function, sortedSales(ifile) which takes the OfficeSupplies.csv file and uses a dictionary to calculate and store the total sales of each sales person. This function prints the salesperson and their associated sales in order of highest value of sales to lowest value of sales with the salespersons name.
This is the output and in python please

This is the ifile

>>>sortSalesC'OfficeSupplies.csv) Alex Rachel : $3,191.67 Bill Richard: $1,721.15 James Nick Morgan : $1,156.01 Matthew$985.85 Smith Rich Thomas Susan : $4,206.38 : $2,476.90 : $1,411.56 : $1,157.49 : 730.76 :319.76 307.37 : 262.98 >>>sortSalesC'OfficeSupplies.csv) Alex Rachel : $3,191.67 Bill Richard: $1,721.15 James Nick Morgan : $1,156.01 Matthew$985.85 Smith Rich Thomas Susan : $4,206.38 : $2,476.90 : $1,411.56 : $1,157.49 : 730.76 :319.76 307.37 : 262.98
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
