You are on page 1of 1

for item in range(10)

##############################

list = [1, 2, 5, 11, 9, 4, 23, 11, 2, 5, 11, 21, 27]


uniques = []
list2 = list.copy()
list.reverse()
for index in list:
for dup in list:
list.count(dup)
if list.count(dup) > 1:
list.pop(list.index(dup))
list.reverse()
for dup in list2:
if dup not in uniques:
uniques.append(dup)
print(list)
print(uniques)

You might also like