[lang-ref] ( zip_lists ) ( python )

def test_zip_lists():
    # zip(col1, col2)
    col1 = ['A', 'B', 'C']
    col2 = ['Apple', 'Banana', 'Cherry']

    r = list(zip(col1, col2))

    assert r == [('A', 'Apple'), ('B', 'Banana'), ('C', 'Cherry')]

    # TODO: bash -> paste command