Use print() to output the array each time it’s updated so you can see the changes.
- Your
selection_sortshould follow the selection sort algorithm, swapping the minimum value in unsorted part of the list with first the unsorted element.
What if the current number is also the lowest number? Should they swap?