Update insertionsort.md

This commit is contained in:
Meet Zaveri
2018-02-20 15:01:33 +05:30
committed by GitHub
parent 6f9a7ac8bd
commit f550102a43

View File

@ -1,6 +1,6 @@
### Insertion Sort ### Insertion Sort
```py ```python
arr = [7,4,9,2,6,3] arr = [7,4,9,2,6,3]
def insertionsort(arr): def insertionsort(arr):
@ -15,5 +15,5 @@ def insertionsort(arr):
insertionsort(arr) insertionsort(arr)
print('modified %s' %arr) # modified [2, 3, 4, 6, 7, 9] print('Sorted %s' %arr) # sorted [2, 3, 4, 6, 7, 9]
``` ```