I am getting an error for my code. I have gone back over previous exercises to see where I have gone wrong. Anyone able to assist?
Oops, try again. remove_duplicates([4, 5, 5, 4]) resulted in an error: range() integer end argument expected, got list.
def remove_duplicates(numbers): result =  for i in range(len(numbers)): if i not in result: result.append(i) return result