Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dictionary

#Creating dictionaries
dict1 = {'color': 'blue', 'shape': 'square', 'volume':40}
dict2 = {'color': 'red', 'edges': 4, 'perimeter':15}
Source by nostarch.com #
 
PREVIOUS NEXT
Tagged: #python #dictionary
ADD COMMENT
Topic
Name
8+6 =