Run
list1 = [2, 3, 7, 3, 6, 2, 8, 8] list2 = [] for item in list1: if item not in list2: list2.append(item) print(list2)
Output