Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 47)
47.
How can you concatenate two dictionaries?
dict1 + dict2
dict1.append(dict2)
dict1.update(dict2)
concat(dict1, dict2)
Answer: Option
Explanation:
The update() method is used to merge the keys and values of one dictionary into another.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.