Created
May 17, 2019 02:37
-
-
Save ezirmusitua/732f11e2da4bddbac199a04c1e10baa7 to your computer and use it in GitHub Desktop.
[Merge dict] Merge dict #python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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