python how to add item to a dictionary

python how to add item to a dictionary
Here is an example:

mydictionary = {}
mydictionary["new key"] = "new value"
mydictionary[1] = "monday"
mydictionary[(3,"wed")] = ["pick up billy","go to market","date with laurie"]

Comments

Popular posts from this blog

Vim vi how to reload a file your editing