Question
Problem 1: Total Sales Design a program that asks the user to enter a stores sales for each day of the week. The amounts should
Problem 1: Total Sales
Design a program that asks the user to enter a stores sales for each day of the week. The amounts should be stored in a list. Use a loop to calculate the total sales for the week and display the result.
Problem 2: Lottery Number Generator
Design a program that generates a seven-digit lottery number. The program should generate seven random numbers, each in the range of 0 through 9, and assign each number to a list element. Then write another loop that displays the contents of the list.
Problem 3: Number Analysis Program
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in a list and then display the following data:
The lowest number in the list
The highest number in the list
The total of the numbers in the list
The average of the numbers in the list
Where supposed to do this in Visual Studio Code using Python. Please provide all of the code for this.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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