Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Google Analytics 4 The Data Driven Marketing Revolution

Authors: Galen Poll

2024th Edition

B0CRK92F5F, 979-8873956234

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago