Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to sort a list with duplicates and return their unique indices.
Post: How to sort a list with duplicates and return thei...

Given a list: lst = [48,52,35,35,44,35]I want to sort the list in descending order, so I use this: sortedlst = sorted(slst, reverse = True)I also want the original index in a sorted position as...
Echoroom Homework 3 3,357 Sep-21-2022, 09:19 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020