Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split Pairs by Cyrus490
def split_pairs(a):
if len(a) % 2:
a += "_"
return ["".join([x, a[y*2+1]]) for y, x in enumerate(a[::2])]
Oct. 23, 2020