Skip to content

Instantly share code, notes, and snippets.

@ezirmusitua
Created May 17, 2019 02:37
Show Gist options
  • Save ezirmusitua/732f11e2da4bddbac199a04c1e10baa7 to your computer and use it in GitHub Desktop.
Save ezirmusitua/732f11e2da4bddbac199a04c1e10baa7 to your computer and use it in GitHub Desktop.
[Merge dict] Merge dict #python
def merge_dict(dict1, dict2):
res = {**dict1, **dict2}
return res
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment