sort numbers in a list python in descending order

Solutions on MaxInterview for sort numbers in a list python in descending order by the best coders in the world

showing results for - "sort numbers in a list python in descending order"
Emelie
18 Jan 2018
1numbers = [1, 3, 4, 2]
2  
3# Sorting list of Integers in descending
4numbers.sort(reverse = True)
5  
6print(numbers)
7