




dict1={1:'preeti',2:'herman',3:"sapna"}
x=dict1.get(2)
print(x)


a={}
n = int(input("enter of elements:"))
for i in range(n):
    k = input("enter the key")
    v = input("enter the value")
    a.update({k: v})
print(a)






















