切片学过吗?剩下的这样写
def sort_list(li): for i in range(len(li)): index = i+get_min(li[i:]) tmp = li[i] li[i] = li[index] li[index] = tmp