merge both dictinoary

Merge dict1 and dict2 such that conflicting keys take the value from dict2.
{"a": 1, "b": 2}
{"b": 3, "c": 4}
Total : 2 Discussion
Login
Latesh Garg
    
It's not passing the test cases even though output is correct. I think it is matching the quotes of the output which is not letting test cases to pass :( Refer attached screenshot
Reply     
Latesh Garg
    
It's not passing the test cases even though output is correct. I think it is matching the quotes of the output which is not letting test cases to pass :( Refer attached screenshot
Reply     
codeexperts
     22-06-2024 02:32 AM
Thanks for letting us know , we have corrected it , Thanks