CONLIB XIIComp 20230821160743
CONLIB XIIComp 20230821160743
CONLIB XIIComp 20230821160743
MARKS: 30
GENERAL INSTRUCTIONS
Determine the Global name,Local names and builtin names from the above code.
11. Nandan has created the following dictionary.Find the output for statement 1,2 and 3: 3
D={"011":"Delhi","022":"mumbai","033":"Kolkata","044":"kochi","055":"Chennai"}
D1={}
print(D.keys()) #Statement1
for i in D.items():
if(i[1].istitle()==False):
D1[i[0]]=i[1].upper()
print(D1) #Statement2
D.update(D1)
print(D) #Statement3
--------END OF PAPER-------