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 dev.to #
 
PREVIOUS NEXT
Tagged: #Merge #dictionaries
ADD COMMENT
Topic
Name
4+4 =