結果 : how to implement knn algorithm in python