# Dynamo List Zip node / method?

**URL:** <https://forum.dynamobim.com/t/dynamo-list-zip-node-method/40011>\
**Category:** Lists-Logic\
**Tags:** dynamo\
**Created:** [August 28, 2019, 12:28pm UTC](https://forum.dynamobim.com/t/dynamo-list-zip-node-method/40011 "2019-08-28T12:28:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnoordzij](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jnoordzij/32/32419_2.png) [@jnoordzij](https://forum.dynamobim.com/u/jnoordzij)\
**Post date:** [August 28, 2019, 12:28pm UTC](https://forum.dynamobim.com/t/dynamo-list-zip-node-method/40011/1 "2019-08-28T12:28:40Z")

</div>

Does anybody know of a simple Dynamo node that does the same as Python List.Zip function?  
Or how to do it most efficiently with custom nodes?

list1 = (‘one’, ‘two’, ‘three’)  
list2 = (‘1’,‘2’,‘3’)

zip(list1,list2) = ((‘one’, ‘1’), (‘two’, ‘2’), (‘three’, ‘3’))

Edit: Simple Python works, but interested in the Dynamo way…  
OUT = zip(IN[0],IN[1])

---

<div class="post-metadata">

**Author:** ![Tomasz](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tomasz/32/66785_2.png) [@Tomasz](https://forum.dynamobim.com/u/Tomasz)\
**Post date:** [August 28, 2019, 12:39pm UTC](https://forum.dynamobim.com/t/dynamo-list-zip-node-method/40011/2 "2019-08-28T12:39:05Z")

</div>

I think that using shortest lacing does the trick.  
A lot of custom nodes are unfortunately badly written and simply may not support lacing. Nodes written in Python surely won’t support lacing either. But if I remember correctly - archilab nodes do support it.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [August 28, 2019, 12:43pm UTC](https://forum.dynamobim.com/t/dynamo-list-zip-node-method/40011/3 "2019-08-28T12:43:53Z")

</div>

In design script:  
`List.Transpose([ListA,ListB]);`

In node form: List.Create and List.Transpose nodes. No lacing or list level issues with the data structure you posted.

If you have a more real example of a node you want to do this with please post the image showing the first list, the second list, and the node in question and we can help out.
