結果 : python find last position of character in string