> How do you sort distances to prepare for nearest neighbor when the
> results returned look like this

Have you read up on the "key" parameter for Python's sort() function?
You can use that, along with split() to do this.

Alan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to