You can create a program to pop the list x number of times for each duplicate element, where x is equals to the count of a duplicate element in the list.
my_list = [1,2,3,4,2,3]
#Sort the list so the index matches the count arrays index
my_list.sort()
#Create the count array using set to count each unique element
count = [my_list.count(x) for x in set(my_list)]
#Create another count to cycle through the count array
count1 = 0
#Create a popped variable to keep record of how many times the list has been altered
popped = 0
while (count1 < len(count)):
    if count[count1] > 1:
        #Create a variable to pop r number of times depending on the count
        r = 0
        while (r < count[count1]):
            #If the list has already been popped, the index to be examined has to be the previous one.
            #For example, after the 2's have been popped we want it to check the first 3
            #which is now in the count1-1 index.
            my_list.pop((count1 - popped))
            r = r+1
        popped = popped + 1
        count1 += 1
        print(my_list)
    else:
        count1 += 1