Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create dictionary from keys and values python

#creating dictionary from keys sequence and value sequence
k=(12,13,14,15,16)
v=(20,21,22,23,24)
d3=dict(zip(k,v))
print(d3)
 
PREVIOUS NEXT
Tagged: #create #dictionary #keys #values #python
ADD COMMENT
Topic
Name
1+9 =