Programming Examples
Python program to calculate mean of a given list of numbers
WAP to calculate mean of a given list of numbers.
Solution
from statistics import mean
L=[2,58,95,999,65,32,15,1,7,45]
m=mean(L)
print("Mean of List is : ",m)
Output
Mean of List is : 131.9