Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
(.)\1 solution in Creative category for Adjacent Letters by Phil15
import re
def adjacent_letters(line: str) -> str:
while (new := re.sub(r'(.)\1', '', line)) != line:
line = new
return line
Sept. 12, 2022