wap a program to find the mean value of a list entered by the user.
Answers
Answered by
0
Answer:
hope u got it
please mark me brainliest
Answered by
0
Answer:
sum = count = 0
print("Enter numbers")
print("(Enter 'q' to see the average)")
while True :
n = input()
if n == 'q' or n == 'Q' :
break
else :
sum += int(n)
count += 1
avg = sum / count
print("Average = ", avg)
Similar questions