devops-exercises/topics/python/sort.md
Ayobami Alaran A 211c28c340
Added new python exercise with solution (#346)
* added new python exercise and solution

* add sort exercise and solutions

* changed heading1

* fixed header description
2023-02-03 11:42:59 +02:00

7 lines
238 B
Markdown

## Sort Descending
1. write a function that sorts the following list of list without using the `sorted()` and `.sort()`
function in descending order
- list = [[1, 2, 3], [2, 4, 4], [5, 5, 5]] -> [[5, 5, 5], [2, 4, 4], [1, 2, 3]]