Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split Pairs by brispol19
split_pairs = lambda a: [a[x:x+2] if x+2<=len(a) else a[x]+'_' for x in range(len(a)) if x%2==0]
Dec. 24, 2019