python

Oh Python

Suppose you have a list of objects that you need to iterate over two consecutive items at a time. An old stackoverflow question for this leads to the a quote from the documentation that reads: