From b190829dfb7b1bcf91e2e9c2e80f5ed3a0929dfa Mon Sep 17 00:00:00 2001 From: Ramit Mittal Date: Sun, 29 Apr 2018 20:57:42 +0530 Subject: [PATCH] resolve issue 70, correction in python selection sort (#72) * Resolve Issue #40: Changed more examples to use python3 syntax * corrected selection sort python --- 02_selection_sort/python/01_selection_sort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/02_selection_sort/python/01_selection_sort.py b/02_selection_sort/python/01_selection_sort.py index 3dca226..7fd80b4 100644 --- a/02_selection_sort/python/01_selection_sort.py +++ b/02_selection_sort/python/01_selection_sort.py @@ -7,6 +7,7 @@ def findSmallest(arr): for i in range(1, len(arr)): if arr[i] < smallest: smallest_index = i + smallest = arr[i] return smallest_index # Sort array