def unique(a):
for i in a:
set(a)
set([1,2,3])
print unique([1,1,2,3,2])
Define a function unique(a) that takes a list of numbers a and returns a new list where each element of a occurs only once. The new list should have its elements in the same order as they appear in a. Your function must use a set.