# your code goes herea={'b':'b'}b={'b':'c'}print(dict(a.items()|b.items()))print(dict(list(a.items()) + [('a','c')]))
Standard input is empty
{'b': 'b'} {'b': 'b', 'a': 'c'}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!