StoryNote logo

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

Upvotes: 5

Favorite this post:
Mark as read:
Your rating:
Add this post to a custom list

StoryNote©

Reddit is a registered trademark of Reddit, Inc. Use of this trademark on our website does not imply any affiliation with or endorsement by Reddit, Inc.