3 ms·zip(xs[:-1], xs[1:]) # explicit zip(xs, xs[1:]) # implicitby epr 6y agozip(xs[:-1], xs[1:]) # explicit zip(xs, xs[1:]) # implicit