You can download this code by clicking the button below.
This code is now available for download.
This function takes a list as input and returns a new list sorted in descending order.
Technology Stack : Built-in function sorted
Code Type : Function
Code Difficulty : Intermediate
def zsort_list(input_list):
return sorted(input_list, reverse=True)