Join/concatenate 4 lists with sublists in a single list with python

Hello,

I am trying to join 4 lists in pairs, so one has name and the other the value of the name, similar than the node string.join with a separator
image

For example the outputs items would be:

output1: testname1/testname2/testname3/testname4
output2: testvalue1/testvalue2/testvalue3/testvalue4

but sometimes the values are in sublists so I get confused

Did you transpose the list properly?

2 Likes

it can work like that but no idea how to do it in python the transpose and string.join function, does it work a desinscript code within python node for this?