What is the output of the following program?
Dictionary1 = {'GFG' : 1,'Google' : 2,'GFG' : 3}
Print(dictionary1['GFG']) ;
A) Compilation error due to duplicate keys
B) Runtime time error due to duplicate keys
C) 3
D) 1
Correct Answer:
Verified
Q13: What is the output of the following
Q14: What is the output of the following
Q15: What is the output of the following
Q16: What will be displayed by the following
Q17: Predict the output of following python programs
Dictionary1
Q19: What is the output of the following
Q20: What is the output of the following
Q21: What is the output of the following
Q22: What is the output of the following
Q23: What is the output of the following
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents