`value[i]` is a relatively expensive operation. Suggest using `enumerate` instead.
```python
for i, item in enumerate(value):
    if item in value[i+1:]:
        ...
```