結果 : get end of string python