You are given a dictionary d, a key src (guaranteed to be present in d), and a key dst.
Modify d in place so that:
dst is assigned the value currently stored at src (creating dst if it does not already exist, overwriting it if it does), andsrc is then removed from the dictionary.Return None. You may assume src and dst are different keys.
NOTE: This is a function-type question — you only write the function. Do not read input or print anything; a hidden checker calls your function and checks its return value.
Arguments
{'a': 5, 'b': 2}
'a'
'b'
Returns
{'b': 5}