Here's my code:
new_lst = 
for i in range(len(lst)):
if i not in new_lst[i]:
however i met an error, i was told "remove_duplicates([4, 5, 5, 4]) resulted in an error: list index out of range"
So... What does "out of error" means? And why does my code out of range?