Browse Source

reverse order of printed distances

master
Charles Reid 2 years ago
parent
commit
26b5f9394d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      euclidean_distance.py

+ 1
- 1
euclidean_distance.py View File

@@ -43,6 +43,6 @@ if __name__=="__main__":

sorted_eds = sorted(eds, key=operator.itemgetter(2))

for e in sorted_eds:
for e in reversed(sorted_eds):
print_tuple(e)


Loading…
Cancel
Save