[python] How to get item's position in a list?