def extendedString(a, b):
    return ''.join(x + y for x, y in zip(*(s + s[-1] * (max(len(a), len(b)) -
        len(s)) for s in (a, b))))
Combine two strings (char by char) and repeat last char of shortest one