DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python array_combine
>>> keys = [2,3,10] >>> vals = [7,9,11] >>> dict(zip(keys, vals)) {2: 7, 3: 9, 10: 11}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit