To get all the keys from a Python dictionary, you can use the ____ method.

  • get()
  • items()
  • keys()
  • values()
To obtain all the keys from a Python dictionary, you should use the keys() method. This method returns a view object that displays a list of all the keys in the dictionary.
Add your answer
Loading...

Leave a comment

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