diff options
Diffstat (limited to 'reverse-selection-sort.py')
-rwxr-xr-x | reverse-selection-sort.py | 3 |
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) |