結果 : if last character in string python