python interleave iterators of mismatched length without adding None placeholders

python -c ‘reduce(lambda x,y:x+tuple(i for i in y if i is not None),map(None,range(0,6,2),range(1,8,2)))’

Leave a comment