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}






Report Bug