Hi, I am getting wrong values for my code
There appears to be a defect in your compute_centroids function.
compute_centroids