#Complete the variance function to make it return the variance of a list of numbers
data3=[13.04, 1.32, 22.65, 17.44, 29.54, 23.22, 17.65, 10.12, 26.73, 16.43]
def mean(data):
    return sum(data)/len(data)
def variance(data):
    #Insert your code here
    n = len(data)
    mu = mean(data)
    varlist = [(x - mu)**2 for x in data]
    return sum(varlist)/n

print(mean(data3))