結果 : last index of character in string python