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 www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #dictionary #append #python
ADD COMMENT
Topic
Name
4+2 =