diff options
Diffstat (limited to 'insertion-sort.py')
-rwxr-xr-x | insertion-sort.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/insertion-sort.py b/insertion-sort.py index dfb7900..41a07da 100755 --- a/insertion-sort.py +++ b/insertion-sort.py @@ -1,6 +1,7 @@ #!/bin/python3 -# --------- Insertion sort +# --------- Insertion Sort Algorithm +# Implementation of algorithm in python # --------- Imported modules import inputoutput as io @@ -26,12 +27,6 @@ def insertionSort(data): # move key after element smaller than it data[j + 1] = key -#testarr = [99,77,44,22,11,33] -#print(testarr) -#insertionSort(testarr) -#FIXME: no return argument needed! -#print(testarr) - # sorting call insertionSort(numdata) |