Solved

What Is the Output of the Following Program

Question 46

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions