結果 : remove the last character from string python