If d is a dictionary, the method d.______() will return a list of all the values in the dictionary.

  • extract_values
  • get_values
  • list_values
  • values
The values() method in Python returns a view object that displays a list of all the values in the dictionary. You can convert this view to a list if needed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *