diff options
author | internetlandlord <f.fredhenry@gmail.com> | 2022-11-03 20:30:31 +0000 |
---|---|---|
committer | internetlandlord <f.fredhenry@gmail.com> | 2022-11-03 20:30:31 +0000 |
commit | 4abdc0d451d254cdfcff42eec1f3998afbf8fa49 (patch) | |
tree | 54c8b988e8cb09fb114be74c3557aefe28a63a5e /reverse-bubble-sort.py | |
parent | cb887cc85943b96172a935f4dac3828c1e087a1d (diff) |
Updated appended filenames for reverse quick and insertion sorts. Created reverse merge sort algorithm script.
Diffstat (limited to 'reverse-bubble-sort.py')
-rwxr-xr-x | reverse-bubble-sort.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reverse-bubble-sort.py b/reverse-bubble-sort.py index a13f4cb..c166830 100755 --- a/reverse-bubble-sort.py +++ b/reverse-bubble-sort.py @@ -24,6 +24,6 @@ for i in range(len(numdata)): numdata[j], numdata[j+1] = numdata[j+1], numdata[j] # finishing up, appending "-bubblesorted" to CSV -target = target[:-4]+"-REV-bubblesorted"+target[-4:] +target = target[:-4]+"-reverse-bubble"+target[-4:] print("Sorting complete! Writing to file.") io.egressCSV(numdata,target) |