Source Code:
(back to article)
my_list = [3, 1, 4, 2, 5] my_list.sort() print(my_list) # Output: [1, 2, 3, 4, 5]
Result:
Report an issue