Deleting Items from a Dictionary : Delete : Dictionary PYTHON TUTORIALS


PYTHON TUTORIALS » Dictionary » Delete »

 

Deleting Items from a Dictionary


d = {"server":"A""database":"master"}    
print d 
del d['server']                                 
print d 
d.clear()                                      
print d



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Dictionary
» Delete