Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
List comprehension, range, underscore solution in Clear category for Split Pairs by Fermax
def split_pairs(a):
# Every second character, for two characters, plus an underscore
return [(a+'_')[i:i+2] for i in range(0,len(a),2)]
Sept. 13, 2019