Combine lists having a specific merge order in a pythonic way? – stackoverflow.com

I would like to construct list x from two lists y and z. I want all elements from y be placed where ypos elements point. For example: y = [11, 13, 15] z = [12, 14] ypos = [1, 3, 5] So, x must be ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Combine lists having a specific merge order in a pythonic way? – stackoverflow.com"