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
Get step-by-step solutions from verified subject matter experts
