Write a python program to merge two python dictionaries into one?

d= {1:2,6:2,7:3,8:10}
d2 = {10:“Hello”,12:“New”}

d.update(d2)
print(d)

2 Likes

@sriv.ansh

Correct , keep it up.