I believe that what you are looking for is already available as an itertools recipe; even though pairwise only allow you to return couples ...
確定! 回上一頁