Question

# Please use Python 3 4). Write a program that asks the user to enter 10 numbers....

Please use Python 3

4). Write a program that asks the user to enter 10 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

Sample input & output:

(Prompt) Enter Number 1: (User enter) 4

(Prompt) Enter Number 2: (User enter) 7

(Prompt) Enter Number 3: (User enter) 3

(Prompt) Enter Number 4: (User enter) 8

(Prompt) Enter Number 5: (User enter) 4

(Prompt) Enter Number 6: (User enter) 8

(Prompt) Enter Number 7: (User enter) 3

(Prompt) Enter Number 8: (User enter) 6

(Prompt) Enter Number 9: (User enter) 12

(Prompt) Enter Number 10: (User enter) 6

(Output) The lowest number in the list is 3.0

(Output) The highest number in the list is 12.0

(Output) The sum of the numbers in the list is 61.0

(Output) The average of the numbers in the list is 6.1

#### Homework Answers

Answer #1
```numbers = []
for i in range(1, 11):
numbers.append(float(input("Enter Number {}: ".format(i))))
print("The lowest number in the list is", min(numbers))
print("The highest number in the list is", max(numbers))
print("The sum of the numbers in the list is", sum(numbers))
print("The average of the numbers in the list is", sum(numbers) / len(numbers))
```

Know the answer?
Your Answer:

#### Post as a guest

Your Name:

What's your source?

#### Earn Coins

Coins can be redeemed for fabulous gifts.

##### Not the answer you're looking for?
Ask your own homework help question
ADVERTISEMENT
##### Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

ADVERTISEMENT
##### Active Questions
• The following command has been successfully executed: Create Sequence EmpSeq; The following block of PL/SQL code...
asked 15 minutes ago
• You own a mid-size company that designs 3-D imaging products. The government has requested you to...
asked 20 minutes ago
• J owns an 80% interest in the capital and profits of the JL partnership. On April...
asked 22 minutes ago
• For the population of infants subjected to fetal surgery for congenital anomalies, the distribution of gestational...
asked 31 minutes ago
• Bill needs to schedule a meeting for tomorrow afternoon, but he also has a tee time...
asked 38 minutes ago
• (a) True/False. A binary random variable is a categorical variable. Explain the answer thoroughly. (b) True/False....
asked 38 minutes ago
• Which of the following is TRUE about erythrocytes? Select one: a. Mature erythrocytes contain many ribosomes....
asked 57 minutes ago
• Muray Corp. is expected to pay the following dividends over the next 4 years: \$14, \$7,...
asked 1 hour ago
• After her yearly physical exam, a 45-year-old woman is told by her doctor that she has...
asked 1 hour ago
• A demand loan of ​\$8000.00 is repaid by payments of ​\$3500.00 after two ​years, \$3500.00 after...
asked 1 hour ago
• In May 2011, Mississippi River flooding hit Vicksburg, Mississippi, and the Optima Air Filter Company. Many...
asked 1 hour ago
• Choose the CORRECT statement about lymphatic fluid (lymph). Select one: a. Lymph is moved through lymphatic...
asked 1 hour ago