Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split Pairs by youmean315
def split_pairs(a):
if len(a) % 2:
a += '_'
return [a[2*i]+a[2*i+1] for i in range(len(a)//2)]
March 11, 2021