Skip to content

Commit 1703a46

Browse files
committed
Write a program to merge two dictionaries
1 parent aaefb17 commit 1703a46

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

44.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dictionary1 = {"Abhra":500000,"Arpan":800000}
2+
dictionary2 = {"Suka":700000,"Shoob":600000}
3+
4+
merged_dictionary = {**dictionary1, **dictionary2}
5+
6+
print("The merged dictionary is:",merged_dictionary)

0 commit comments

Comments
 (0)