結果 : remove consecutive duplicate words in a string python