Skip to content

Commit

Permalink
Format using black
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Sep 10, 2024
1 parent 99e2f09 commit 95f2617
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions medium/K-Means_Clustering/K-Means_Clustering.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
def k_means_clustering(points: list[tuple[float, float]], k: int, initial_centroids: list[tuple[float, float]], max_iterations: int) -> list[tuple[float, float]]:
# Your code here
return final_centroids
def k_means_clustering(
points: list[tuple[float, float]],
k: int,
initial_centroids: list[tuple[float, float]],
max_iterations: int,
) -> list[tuple[float, float]]:
# Your code here
return final_centroids

0 comments on commit 95f2617

Please sign in to comment.