The values method returns a list of the values in the dictionary : Values : Dictionary PYTHON TUTORIALS


PYTHON TUTORIALS » Dictionary » Values »

 

The values method returns a list of the values in the dictionary


d = {} 
d[1
d[2
d[3
d[4
print d.values()



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Dictionary
» Values