結果 : python if last character in string