a=[1,2,3,3,3,3,4]
print set(a)
set([1, 2, 3, 4])

+ Recent posts