Question
Design a program that asks the user to enter the monthly sales values for six months.The program should store the monthly sales values in a
Design a program that asks the user to enter the monthly sales values for six months.The program should store the monthly sales values in a list using a loop and then display the following:
- The lowest monthly sales value
- The highest monthly sales value
- Total sales for 6 months
- The average sales for 6 months
Save the program as monthlysaleslist.py
Plan the programs using a flowchart or pseudocode.The plan does not have to be submitted.
Sample Input:
Enter sales for month 1: 25000
Enter sales for month 2: 17250
Enter sales for month 3: 15780
Enter sales for month 4: 16254
Enter sales for month 5: 28650
Enter sales for month 6: 20150
Sample Output:
Lowest Monthly Sales:$15,780.00
Highest Monthly Sales:$ 28,650.00
Total Sales:$ 123,084.00
Average Monthly Sales: $ 20,514.00
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