def weightedMean(X, W):
    # Write your code here
    a = 0
    for i in range(len(X)):
        a += X[i] * W[i]
    print("{:.1f}".format(a / sum(W))) 
9d70038815156072f27068debbc3e953674300b7
<mask token>

def weightedMean(X, W):
    a = 0
    for i in range(len(X)):
        a += X[i] * W[i]
    print('{:.1f}'.format(a / sum(W)))

def weightedMean(X, W):
    # Write your code here
    a = 0
    for i in range(len(X)):
        a += X[i] * W[i]
    print("{:.1f}".format(a / sum(W))) 