Mega Code Archive

 
Categories / Python / Tuple
 

Zip three tuples

T1, T2, T3 = (1,2,3), (4,5,6), (7,8,9) print T3 print zip(T1,T2,T3)