Question: I am currently coding a Sales Data Application on Python and I am missing the following functionality: The average sold summary should provide the following:

I am currently coding a Sales Data Application on Python and I am missing the following functionality: The average sold summary should provide the following: Salesperson name and commission rate and the following information for each salesperson: Average # Items sold Average $ sold Average $ commission earned Item tax (calculated using item tax rate, item price and item quantity) Item total amount (calculated using item price, item quantity and item tax) The total sold (calculated using all item total amounts for the salesperson) The total commission earned by the salesperson (calculated using total sold without tax and the salespersons commission rate) I have already coded the data entry portion of the project, and gave the option to display or print data. I can not for the life of me figure out how to calculate and display the averages, I keep getting a type error "int is not iterable"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!