Report Bug

Qus

What is the output of the following code?

dict={"Joey":1, "Rachel":2}
dict.update({"Phoebe":2})
print(dict)
Qus

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

dict={"Joey":1, "Rachel":2}
dict.update({"Phoebe":2})
print(dict)


A. {'Joey': 1, 'Rachel': 2, 'Phoebe': 2}
B. {“Joey”:1,”Rachel”:}
C. {“Joey”:1,”Phoebe”:2}
D. Error


Solution
A. {'Joey': 1, 'Rachel': 2, 'Phoebe': 2}



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