Question: Kindly answer this question using the python codes and functions. Thank you Below are the sales reported by 5 salesmen at the end of the

 Kindly answer this question using the python codes and functions. Thank

Kindly answer this question using the python codes and functions.

Thank you

Below are the sales reported by 5 salesmen at the end of the week. The number of entries given corresponds to the number of days they worked. 1:250$,300$,550$2:150$,200$,250$,175$,210$3:170$,240$,155$,190$,240$,210$4:240$,290$,255$,295$,250$5:450$,380$,500$ i) Define a function that will accept the variable length of arguments and return the number of days the salesman worked and the average sales i.e. sales/day. ii) Save the results of the 5 salesmen in a dictionary. Salesman number 1,2,3,4,5 should be the key and the number of days worked a average sales/day should be stored as a list for the respective salesman

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!