Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started