diff options
author | internetlandlord <f.fredhenry@gmail.com> | 2022-11-03 21:44:48 +0000 |
---|---|---|
committer | internetlandlord <f.fredhenry@gmail.com> | 2022-11-03 21:44:48 +0000 |
commit | de9e7ac398ac4d7ea59422bdd9d9a22183f65a71 (patch) | |
tree | 5469fd5d1062f52163d34df38f96ee715a060ab8 /reverse-selection-sort.py | |
parent | 05272438359e6696e62c6363082d795d5c95219a (diff) |
Added appended identifiers to selection sort scripts
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) |