Skip to content
Advertisement

Tag: selection

Sort a list by value of a dict python

I need some help, how to use the algorithm selection sort to sort a list by the values of a dict. I wrote some code but I don’t know how continue, that the code work. e.g. sort the list by the values of the dict Answer New Answer Create class selection_sort which has get_sorted() method that will sort the list

Advertisement