summaryrefslogtreecommitdiff
path: root/reverse-selection-sort.py
diff options
context:
space:
mode:
Diffstat (limited to 'reverse-selection-sort.py')
-rwxr-xr-xreverse-selection-sort.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/reverse-selection-sort.py b/reverse-selection-sort.py
index a085366..618be15 100755
--- a/reverse-selection-sort.py
+++ b/reverse-selection-sort.py
@@ -28,6 +28,7 @@ for i in range(len(numdata)):
# updating values using simultaneous assignments
numdata[i], numdata[mindex] = numdata[mindex], numdata[i]
-# finishing up
+# finishing up, appending identifier to file
+target = target[:-4]+"-reverse-selection"+target[-4:]
print("Sort complete, writing to file!")
io.egressCSV(numdata,target)