Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Speedy category for Split Pairs by flatline
import itertools
def split_pairs(a):
return [''.join(_) for _ in itertools.zip_longest(
itertools.islice(a, None, None, 2),
itertools.islice(a, 1, None, 2),
fillvalue='_')]
Dec. 31, 2020