Python dict.values() Method
The values() method returns a view object. The view object contains
the values of the dictionary, as a list.
The view object will reflect any changes done to the dictionary.
Syntax
dictionary.values()
Parameters
No parameters.
Return Value
A view object containing the values.
Example
Using the values() method:
Output
Click Run to execute your code
Enjoying these tutorials?