結果 : remove consecutive repeated characters from string python