結果 : remove last chars from string python