StoryNote
Log in
|
Sign up
I have 2 dictionaries. How do I add all key/value pairs to dict_a whose keys are in dict_b and not already in dict_a?
by
/u/hyperspacevoyager
in
/r/learnpython
Read on Reddit
Upvotes:
5
Favorite this post:
Mark as read:
Your rating:
--
10
9
8
7
6
5
4
3
2
1
0
Add this post to a custom list