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

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!