The problem is easy, I want to iterate over each element of the list and the next one in pairs (wrapping the last one with the first).
I\'ve thought about two unpyth
i=(range(10)) for x in len(i): print i[:2] i=i[1:]+[i[1]]
more pythonic than this is impossible