結果 : python check if string ends with certain characters