Problem Statement:
I'm using python 3.5 and love the new dictionary merging syntax:
merged = {**A, **B}
But what if you only wanted some subset of the keys in A
and B
?
A_keys = [some small subset of the keys from A]
B_keys = [some small subset of the keys from B]
merged = ???