Question: PYTHON: Create a dictionary with Employee ID as the key and sales earned (1 to 5) days as values. For example: {M01106473 = [50,40,89,56], M00125345

PYTHON:

Create a dictionary with Employee ID as the key and sales earned (1 to 5) days as values.

For example:

{M01106473 = [50,40,89,56],

M00125345 = [66,44,55],

M01102324 = [65,69,48,95,39], }

Create a function: that calculates the average sales for each employee.

Display the values in this format: (Must use format() method to print)

Employee with ID M01106473 earned an average = 58.75

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!