diff options
Diffstat (limited to 'insertion-sort.py')
-rwxr-xr-x | insertion-sort.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/insertion-sort.py b/insertion-sort.py index 41a07da..6aa620a 100755 --- a/insertion-sort.py +++ b/insertion-sort.py @@ -30,6 +30,7 @@ def insertionSort(data): # sorting call insertionSort(numdata) -# wrapping up +# wrapping up and appending "-insertionsorted" to CSV +target = target[:-4]+"-insertionsorted"+target[-4:] print("Sorting done! Writing to file.") io.egressCSV(numdata,target) |