[python] Index of duplicates items in a python list