def variance(X):
    E = esperance(X)
    Y = [ ]
    for c in X:
        Y.append( ( (c[0]-E)**2 , c[1] ) )
    return esperance(Y)
