結果 : python check if string ends with character