Dictionary : Dictionary Clear : Dictionary PYTHON examples


PYTHON examples » Dictionary » Dictionary Clear »

 

Dictionary




d = {}
d['name'] 'Gumby'
d['age'] 42
print d

returned_value = d.clear()
print d
print returned_value

           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo Dictionary
» Dictionary Clear