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..)

  1. Ask the user to enter a stores sales for each day of the week this week.
  2. The amounts should be stored in a list.
  3. Use a loop to calculate the total sales for the week and display the result.
  4. Output the average sales of the week, shown with only 2 decimal places
  5. Output the minimum and maximum sale values
  6. 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 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!