What will be the output of the following Python code snippet?
a={1:"A",2:"B",3:"C"} a.setdefault(4,"D") print(a)
निम्नलिखित Python कोड स्निपेट का आउटपुट क्या होगा?
What will be the output of the following Python code?
a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
निम्नलिखित Python कोड का आउटपुट क्या होगा?
a={1:"A",2:"B",3:"C"} b=a.copy() b[2]="D" print(a)
a={1:"A",2:"B",3:"C"} a.clear() print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
a={1:5,2:3,3:4} a.pop(3) print(a)
a={1:"A",2:"B",3:"C"} for i in a: print(i,end=" ")
a={1:"A",2:"B",3:"C"} print(a.items())
>>> a={1:"A",2:"B",3:"C"} >>> del a