結果 : index method in python example