Selection Sort in Python

unsorted_list = [64, 25, 12, 22, 11] 
length_of_list = len(unsorted_list)
print (f"UnSorted array:\n{unsorted_list}")   
for i in range(length_of_list): 

    index_smallest = i
    # index of smallest element in the list
    for j in range(i+1, length_of_list): 
        if unsorted_list[index_smallest] > unsorted_list[j]: 
            index_smallest = j   
    # Swap the found smallest element with the first element each time
    unsorted_list[i], unsorted_list[index_smallest] = unsorted_list[index_smallest],
unsorted_list[i] 
print (f"Sorted array, using the section sort\n(swapping least number with first)\n{unsorted_list}")