#calculate mean of a list of numbers
l=eval(input("Enter a list: "))
mean=sum(l)/len(l)
print("The mean of the numbers in the list is ",mean)
Comments
Post a Comment