Write a python program to find average of list of numbers entered through your keyboard
Answers
Answered by
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
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