結果 : how to remove last character in string python