A

Admin • 833K Points
Coach

Q. Which method returns a list of dictionary keys?

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

Explanation by: Admin

keys returns all keys from a dictionary.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.