fork download
  1. a={
  2. "A":"Anish",
  3. "B":15,
  4. "N":"Sri",
  5. "D":14
  6. }
  7. a.pop("A")
  8. del a["D"]
  9. print(type(a))
  10. print(a)
  11. print(a)
Success #stdin #stdout 0.02s 7304KB
stdin
Standard input is empty
stdout
<type 'dict'>
{'B': 15, 'N': 'Sri'}
{'B': 15, 'N': 'Sri'}