python interleave two iterators

python -c “print reduce(lambda x,y:x+y,zip(range(0,10,2),range(1,10,2)))”

Advertisements