Sal
Peter Hoffmann Director Data Engineering at Blue Yonder. Python Developer, Conference Speaker, Mountaineer

Multiple Tuple to Two-Pair Tuple in Python?

This my Answer to the stackoverflow question: Multiple Tuple to Two-Pair Tuple in Python?:
[(tuple[a], tuple[a+1]) for a in range(0,len(tuple),2)]