I just need to find all the occurrences of an element in a list.
Because, if we use index(), that will give you the first occurrence if an item, in that list. Now, what if I want to return all the indices in a list?
would anyone please help me with this?
Thank you !!