Computer Science, asked by pubghacker3792, 4 months ago

Write a python program to find average of list of numbers entered through your keyboard​

Answers

Answered by avniverma75
1

Explanation:

Program :

num = int(input('How many numbers: '))

total_sum = 0.

for n in range(num):

numbers = float(input('Enter number : '))

total_sum += numbers.

avg = total_sum/num.

print('Average of ', num, ' numbers is :', avg)

Answered by elsaabraham267
0

Answer:

 .num = int(input('How many numbers: '))

.total_sum = 0.

.for n in range(num):

.numbers = float(input('Enter number : '))

. total_sum += numbers.

.avg = total_sum/num.

.print('Average of ', num, ' numbers is :', avg)

Explanation:

Similar questions