Tim Peters added the comment:

This isn't a bug.  84 appears twice in the list, the first time at index 9.  
The .index() method finds the first (leftmost; smallest index) occurrence.  
Since 9 isn't even, the `if` test isn't satisfied, so 84 does not appear in the 
result.

----------
nosy: +tim.peters
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to