結果 : remove last n characters of string python