Copyright © tutorialspoint.com
This class method returns a list of all the values available in a given dictionary.
dict.values() |
Here is the detail of parameters:
NA
#!/usr/bin/python dict = {'Name': 'Zara', 'Age': 7} print "Value : %s" % dict.values() |
This produces following result:
Value : [7, 'Zara'] |
Copyright © tutorialspoint.com