Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split Pairs by rybld2
def split_pairs(a):
# your code here
if len(a)%2 !=0 :
a=a+'_'
return [a[i]+a[i+1] for i in range(0, len(a)-1,2) ]
Dec. 31, 2020
Comments: