結果 : python test last character in string