From 4abdc0d451d254cdfcff42eec1f3998afbf8fa49 Mon Sep 17 00:00:00 2001 From: internetlandlord Date: Thu, 3 Nov 2022 20:30:31 +0000 Subject: Updated appended filenames for reverse quick and insertion sorts. Created reverse merge sort algorithm script. --- reverse-bubble-sort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reverse-bubble-sort.py') 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) -- cgit v1.2.3