You are viewing a single comment's thread. Return to all comments →
def weightedMean(X, W): # Write your code here multi = [a * b for a, b in zip(X, W)] print(round(sum(multi)/sum(W), 1))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 0: Weighted Mean
You are viewing a single comment's thread. Return to all comments →