Knn Code In Python Using Random