How to find the repeated item in the list

Ex:
The list contain 4 items
25
85
45
25
I want to find the repeated item in the list (25 is repeated two times) with index number

1 Like

here is your solution.

blocks - 2020-02-23T172848.382

blocks - 2020-02-23T172945.043

blocks - 2020-02-23T172946.707

7 Likes

Correct me if I’m wrong but this removes the duplicates. Doesn’t find them. If that’s what the OP wanted, then he described it wrong. To find the duplicates you might have to tweak your procedure to do almost the opposite.
Good solution to filter duplicates!

4 Likes

Thank you @ImranTariq

Yes you are right, but i think user wanted a list without duplicates, if he wants to find duplicates he needs to put that item (which is duplicate) in a another list. similar just needs a little change,

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.