Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dictionary append value python

d = {1:2}
d.update({2: 4})
print(d) # {1: 2, 2: 4}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dictionary #append #python
ADD COMMENT
Topic
Name
5+3 =