RosettaCodeData/Task/Remove-duplicate-elements/Python/remove-duplicate-elements-1.py

3 lines
83 B
Python
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
items = [1, 2, 3, 'a', 'b', 'c', 2, 3, 4, 'b', 'c', 'd']
unique = list(set(items))