Question · Python course · Module 2: Data Structures

What is a Dictionary?

A dictionary in Python stores:

Answer options

  • Only numbers
  • Key-value pairs
  • Only strings
  • Ordered elements with indices
Show the answer

Correct answer:

  • Key-value pairs