Say there are two dictionaries.
dict1 = {'a':1,'b':2,'c':3,'d':4}
dict2 = {'a':1,'b':'yellow','c':3,'e':5}
How would one append values in dict2
to dict1
while also replacing new values with equal keys.
Intended Result:
dict1 = {'a':1,'b':'yellow','c':3,'d':4,e':5}
Been struggling with this one for a while.