a = {'a': 1, 'b': 2}b = {'a': 3, 'c': 0}result = dict(a, **b)print(result)
Standard input is empty
{'a': 3, 'c': 0, 'b': 2}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!