def selection_sort(list): new_list = [] for each in list: max = list[each] for every in list: if list[every] > max: max = list[every] new_list.append(max) list.remove(max) re