Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 unique option for sorting?
#1
is there a way to get the effect of a unique option for sorted() or list.sort() in order to eliminate duplicates?
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Quote
#2
Compose with more_itertools.unique_justseen().
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)