<AptiCode/>

Question 424: What is the correct way to sort a list in descending order in Python?

tcs
wipro
infosys
general
aptitude
lists
python-programming

Thelist.sort(reverse=True)method is used to sort a list in descending order in-place.