結果 : python check last char in string