Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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