[issue42026] index function return first index for same element if repetitive in a list

Chetan Palliwal report at bugs.python.org
Tue Oct 13 05:31:32 EDT 2020


Chetan Palliwal <Chetanjain1313 at gmail.com> added the comment:

if an element in the list present more than 1 times in different order and we try to get the index of it python 3.6 is returning only the first index value for all places of that element in that list.

----------
Added file: https://bugs.python.org/file49515/index-python-issue.JPG

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42026>
_______________________________________


More information about the Python-bugs-list mailing list