結果 : python get last position of character in string