Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

creating a dictionary from lists

a = [10,20,30]
b = [100,200,300]
my_dictionary = dict(a=a, b=b)
Source by projects.datacamp.com #
 
PREVIOUS NEXT
Tagged: #creating #dictionary #lists
ADD COMMENT
Topic
Name
1+2 =