A

Admin • 833K Points
Coach

Q. Which method is used to get all values from a dictionary?

  • (A) keys()
  • (B) values()
  • (C) items()
  • (D) get()
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

values returns a view of all values in the dictionary.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.