fork download
  1. from itertools import chain, zip_longest
  2.  
  3. string1='aovces'
  4. string2='m o'
  5.  
  6. interpolation = zip_longest(string1, string2, fillvalue='')
  7.  
  8. print(''.join(chain(*interpolation)))
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
amo voces