It is coming up with this error message:
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!
def remove_duplicates(lst): x = lst lst = lst result =  bin =  for num in lst: y = [x.remove(num)] if num not in x: result.append(num) else: bin.append(num) return result
Any help would be greatly appreciated.