> The code is pretty legible as it is now. Anyway, using min() and a
> generator:
>
>

hi
is this calculated distance really Euclidean distance? When i checked
wikipedia http://en.wikipedia.org/wiki/Euclidean_distance
it shows a calculation involving sum of squares of the differences of
elements.Here in this code ,the sum of coordinates are used? is that a
different measure?

oharry
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to