Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
"Split Pairs" one-liner solution in Clear category for Split Pairs by Raszlo
def split_pairs(a):
return [x+y for x,y in zip(a[::2], a[1::2]+'_')] if a else []
April 29, 2020