DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+2 =
Submit