結果 : python if string ends with character