SZanlongo
9/18/2014 - 2:02 AM

Remove duplicates from a List

Remove duplicates from a List

# https://stackoverflow.com/questions/691946/short-and-useful-python-snippets
L = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]
print list(set(L))