DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
zippython
l1 = [1, 2, 3] l2 = ['a', 'b', 'c'] list(zip(l1, l2)) #-> [(1, 'a'), (2, 'b'), (3, 'c')]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#zippython
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit