Coding task · Python course · Module 2: Data Structures

Sorting a List

Sort a list using the sort() method

Task

Sort the list numbers = [5, 2, 8, 1, 9] in ascending order