how to find highest index posstion of element in python