Question: PYTHON The program must first ask the user how many numbers are to be averaged. After that you should ask for the N positive numbers

PYTHON

The program must first ask the user how many numbers are to be averaged. After that you should ask for the N positive numbers (which can have decimals) and average them. In the end, the program should print the average result.

EXAMPLE:

3 5 8 14

output

9.0

or

2 110.456 80.72

output

95.588

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!