Report Bug
Qus :

What is the output of following code

d = {1:"A", 2:"B", 1:"C"}
print(d)

Qus

निम्नलिखित कोड का आउटपुट क्या होगा?

d = {1:"A", 2:"B", 1:"C"}
print(d)


A. {1:'A',2:'B'}
B. {1:'C',2:'B'}
C. Error
D. {1:'A',1:'C',2:'B'}


Solution
B. {1:'C',2:'B'}






Report Bug