KnowledgeBoat Logo
|

Informatics Practices

Which of the statement(s) is/are correct?

  1. In Python dictionary, the key-value pair is called an item.
  2. Python dictionary is a mapping of unique keys to values.
  3. Dictionary is mutable.
  4. All of these.

Python Dictionaries

1 Like

Answer

All of these.

Reason — A dictionary is mutable and consists of elements in the form of key-value pairs, where each pair is termed an item. It maps unique keys to values.

Answered By

1 Like


Related Questions