Remove Duplicates: wrong way is valid


#1

This code is cheats lesson validator.

def remove_duplicates(list_duplicates):
    new_list = []
    for i in list_duplicates:
        new_list.append(i)
        if i in list_duplicates:
            return i
    return new_list
    
print remove_duplicates([1, 2, 3, 4, 5, 5, 5, 5])
return 1