Skip to content

Commit bff0bba

Browse files
MatanleyegonSchiele
authored andcommitted
Update 01_selection_sort.py (egonSchiele#59)
remove one line of code which is redundant
1 parent 7b3eab5 commit bff0bba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

02_selection_sort/python/01_selection_sort.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ def findSmallest(arr):
66
smallest_index = 0
77
for i in range(1, len(arr)):
88
if arr[i] < smallest:
9-
smallest = arr[i]
109
smallest_index = i
1110
return smallest_index
1211

0 commit comments

Comments
 (0)