Python zip Posted on 2019-07-09 | In Python | Words count in article 200 Experiments using Python 3.7.3 123zip([1, 2, 3], [4, 5, 6]) Out: <zip at 0x21ad7134208> 123list(zip([1, 2, 3], [4, 5, 6])) Out: [(1, 4), (2, 5), (3, 6)] 12zip(*zip([1, 2, 3], [4, 5, 6])) Out: <zip at 0x21ad7265d88> 12zip(*list(zip([1, 2, 3], [4, 5, 6]))) Out: <zip at 0x21ad7265dc8> 12list(zip(*zip([1, 2, 3], [4, 5, 6]))) Out: [(1, 2, 3), (4, 5, 6)] 12list(zip(*list(zip([1, 2, 3], [4, 5, 6])))) Out: [(1, 2, 3), (4, 5, 6)] 12345a, b = zip(*zip([1, 2, 3], [4, 5, 6])) a Out: (1, 2, 3) b Out: (4, 5, 6)