結果 : python strip substring from end of string