結果 : python find position of last character in string