結果 : find character from end of string python