code: def combine(self, pattern, variable):
          
          inter_zip = izip_longest(variable, pattern, fillvalue='')
          interleaved = [elt for pair in inter_zip for elt in pair]
          return ''.join(interleaved)
docs: Combine a pattern and variable parts to be a line string again.