DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python remove duplicates from 2d list
xx = [['a',1],['b',2],['c',3],['c',3]] xx = set(tuple(element) for element in xx)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#remove
#duplicates
#list
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit