0

Is there any built in functions available for sorting the list in descending order like sorting it in ascending order in python?

23rd Jan 2018, 5:08 PM
Balaji Bhai😁😁😁
Balaji Bhai😁😁😁 - avatar
4 Réponses
0
list.sort(reverse=True)
23rd Jan 2018, 5:25 PM
Jeremy
Jeremy - avatar
0
is this for descending order bro?
23rd Jan 2018, 5:26 PM
Balaji Bhai😁😁😁
Balaji Bhai😁😁😁 - avatar
0
I edit it, now its right
23rd Jan 2018, 5:27 PM
Jeremy
Jeremy - avatar
0
oh thanks bro I will try
23rd Jan 2018, 5:27 PM
Balaji Bhai😁😁😁
Balaji Bhai😁😁😁 - avatar