Solution for Compare two dict and update the dict based on compared dict
compare dict1 with dict2 and update the dict1 based on the dict key values,here "id" is the unique key
dict1={id:1,mobile:'nokia',count:54,size:9}
dict2={id:1,mobile:'nokia',count:63,size:9}
expected output:
dict1={id:1,mobile:'nokia',count:63,size:9}