I have written some code to find the KNN in python from scratch.
When I run the final part to count the number of classes inside a list of neighbours and find the mos