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'}



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad