Skip to the content.

Add An Item To Dictionary

We can add an item to dictionary by assigning a new index key and value to it.

Usage

dictionary["INDEX_KEY"] = "VALUE_HERE"

Source: W3Schools