Question: Exercise 2. Write a program that does the following:(Using Python 3..) Ask the user to enter a stores sales for each day of the week
Exercise 2. Write a program that does the following:(Using Python 3..)
- Ask the user to enter a stores sales for each day of the week this week.
- The amounts should be stored in a list.
- Use a loop to calculate the total sales for the week and display the result.
- Output the average sales of the week, shown with only 2 decimal places
- Output the minimum and maximum sale values
- Create a new list that contains the percentage of sales (2 decimal places) that each day contributed to the total week's sales
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
