Answer to Question #350720 in Python for Nawaf

Question #350720

A store manager hypothesizes that the average number of pages a person copies on the store’s copy machine is at least 9. A sample of customers’ orders selected randomly reveals the following: 

11

10

10

9

15

20

12

15

12

3

13

20

2

3

16

3

4

19

13

21

3

3

5

11

8

16

10

17

5

2

5

19



1
Expert's answer
2022-06-15T08:12:31-0400
from sys import stdin
numbers = [int(i) for i in stdin.read().split()]
print(f"The average number of pages a person copies on the store’s copy machine is {int(sum(numbers) / len(numbers))}.")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS