• + 0 comments

    print(re.sub(r'(\w)\W+(\w)', r'\1 \2', ''.join(map(lambda x: ''.join(x), zip(*matrix))))