I would appreciate some help in creating a function that iterates through a string and combines each character with a strikethrough character (\\u0336). With the output bein
How about:
from itertools import repeat, chain ''.join(chain.from_iterable(zip(text, repeat('\u0336'))))
or even more simply,
'\u0336'.join(text) + '\u0336'