Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python: Merge dictionaries

def merge_dictionaries(d1, d2):
    d3 = d1.copy()
    d3.update(d2)
    return d3
    
   
Source by www.tutorialfor.com #
 
PREVIOUS NEXT
Tagged: #Merge #dictionaries
ADD COMMENT
Topic
Name
9+4 =