Write a program to Sort the list in descending order


Topic: Write a program to Sort the list in descending order

Solution

my_list = [4,3,2,9,10,44,1]
my_list.sort(reverse=True)
print(f"Descending Order list:,{my_list}")



List all Python Programs