結果 : remove n last characters from string python