結果 : remove last character in a string python