結果 : get rid of last character in string python