The error message I get is: Oops, try again. Your remove_duplicates modifies the list that was passed to it. [4, 5, 5, 4] was modified to [5, 4]. Perhaps you should make a copy first!
However, I have made a copy.
This is my code:
def remove_duplicates(lst): newList =  for l in lst: if l in lst > 1: lst.remove(l) newList.append(lst[1:]) return newList
Thanks for your help!