Social Sciences, asked by mkaur268754, 5 months ago

4. Suppose >>> d1=\ 1:^ prime one^ prime ,2:^ prime two^ prime ', 3: ' three', 4:^ * ' s(ar^ prime ) >>> d2=\ 5:^ prime five^ prime , 6:^ prime six^ prime ) Write the output of the following code: (a) >>> d1.items () >>> dl.keys () >>d1.va () >>> dl.update (d2) >>> len (d1) (b) >>> del d1[3] >>> print (d1) >>> dl.pop >op(4) >>> print (d1) >>> d1[8]=^ prime eight ' >>> print (d1) >>> :lear() >>> print (d1)​

Answers

Answered by Anonymous
9

Answer:

4. Suppose >>> d1=\ 1:^ prime one^ prime ,2:^ prime two^ prime ', 3: ' three', 4:^ * ' s(ar^ prime ) >>> d2=\ 5:^ prime five^ prime , 6:^ prime six^ prime ) Write the output of the following code: (a) >>> d1.items () >>> dl.keys () >>d1.va () >>> dl.update (d2) >>> len (d1) (b) >>> del d1[3] >>> print (d1) >>> dl.pop >op(4) >>> print (d1) >>> d1[8]=^ prime eight ' >>> print (d1) >>> :lear() >>> print (d1)

Similar questions