From 0db5531c97f656dd9da4479c1a22fb1fbb4f9bf7 Mon Sep 17 00:00:00 2001 From: Srihari Thyagarajan Date: Wed, 11 Sep 2024 15:40:05 +0530 Subject: [PATCH] Update logic --- medium/K-Means_Clustering/K-Means_Clustering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/medium/K-Means_Clustering/K-Means_Clustering.py b/medium/K-Means_Clustering/K-Means_Clustering.py index d26b856..6a9bc15 100644 --- a/medium/K-Means_Clustering/K-Means_Clustering.py +++ b/medium/K-Means_Clustering/K-Means_Clustering.py @@ -5,7 +5,7 @@ def k_means_clustering( max_iterations: int, ) -> list[tuple[float, float]]: # Your code here - return final_centroids + return final_centroids # type: ignore points = [(1, 2), (1, 4), (1, 0), (10, 2), (10, 4), (10, 0)]