I wanna to find the order number (index number) of the item in a list, If this list looks like this
lst = ['a', 'v', 'c', 'a', 'b']
I wanna get the order number of item 'a', then the ideal output will be 0,3
.
I have tried lst.index('a')
but it only returns0
Any help would be really appreciated!