Multiple Choice
What is the output of the following program?
D = {1 : 1, 2 : '2', '1' : 1, '2' : 3}
D['1'] = 2
Print(D[D[D[str(D[1]) ]]])
A) 2
B) 3
C) „2?
D) KeyError
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q18: What is the output of the following
Q19: What is the output of the following
Q20: Suppose t = (1, 2, 4, 3),
Q21: What is the output of the following
Q22: What is the output of the following
Q24: What is the output of the following
Q25: What is the output of the following
Q26: Predict the output of following python programs<br>Dictionary1
Q27: What is the output of the following
Q28: What is the output of the following