I’ve noticed a trend wherein a flaw within the codecademy system seems to make it so that even if the code itself isn’t actually “correct”, it will still accept it and let you move onto the next exercise, so long as it seems to satisfy the MAIN part of the task. So it gives the user a false sense of satisfaction that actually leads to their own detriment, as they are moving on while not actually having created a sound piece of code.
Is this the case with me in this exercise? I feel like it’s too simple, but idk. Maybe it is correct?
def remove_duplicates(list): list_two =  for x in list: if x not in list_two: list_two.append(x) else: pass print list_two return list_two remove_duplicates([0,1,6,5,4,8,4,4,8,9,8,7,6,3,2])