def combine_dictionaries(a, b):
c = {}<EOL>for key in list(b.keys()): c[key]=b[key]<EOL>for key in list(a.keys()): c[key]=a[key]<EOL>return c<EOL>
returns the combined dictionary.  a's values preferentially chosen