N
Neal Becker
How do I interleave 2 sequences into a single sequence?
How do I interleave N sequences into a single sequence?
How do I interleave N sequences into a single sequence?
How do I interleave 2 sequences into a single sequence?
How do I interleave N sequences into a single sequence?
Neal Becker said:How do I interleave 2 sequences into a single sequence?
How do I interleave N sequences into a single sequence?
Neal Becker said:How do I interleave 2 sequences into a single sequence?
[1, 5, 2, 6, 3, 7, 4, 8]a = [1,2,3,4]
b = [5,6,7,8]
[x for S in zip(a, b) for x in S]
How do I interleave N sequences into a single sequence?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.