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
Difference between zip and map : zip « Buildin Function « Python
Python
Buildin Function
zip
Difference between zip and map
S1 =
'abc'
S2 =
'xyz123'
print zip(S1, S2) print map(None, S1, S2)
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.
Zip three tuples
6.
Zip function demo: returns a list of tuples