Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # intermerge.py
- t = range(20)
- a,b = [t,t[::-1]]
- out = [0]*(2*len(min(a,b)))
- out[::2] = a
- out[1::2] = b
- print(out)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement