Question #84

How to merge two dictionaries x and y? (Python 3.5+)

From Python 3.5 onwards, two dictionaries x and y can be merged using the syntax {**x, **y} . The other options above don't exist and will give a SyntaxError error. (stackoverflow.com/questions/38987/how-do-i-merge-two-dict...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: