Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

merge dicts python

z = x | y          # NOTE: 3.9+ ONLY
z = {**x, **y}		# NOTE: 3.5+ ONLY
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #merge #dicts #python
ADD COMMENT
Topic
Name
4+9 =