Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
Python
2D
Application
Buildin Function
Class
Data Structure
Data Type
Database
Development
Dictionary
Event
Exception
File
Function
GUI Pmw
GUI Tk
Language Basics
List
Math
Network
String
System
Thread
Tuple
Utility
XML
Zip three tuples : zip « Buildin Function « Python
Python
Buildin Function
zip
Zip three tuples
T1, T2, T3 = (1,2,3), (4,5,6), (7,8,9) print T3 print zip(T1,T2,T3)
Related examples in the same category
1.
Generator Expressions
2.
Loop over two or more sequences at the same time
3.
Zip a two lists
4.
Read element in a zipped list
5.
Difference between zip and map
6.
Zip function demo: returns a list of tuples