Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dict_update.py
- d1 = {'a': 10, 'b': 20, 'c': 30}
- d2 = {'b': 200, 'd': 400}
- d1.update(d2)
- print d1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement