Search
 
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
Name
1+2 =