python how to add item to a dictionary
python how to add item to a dictionary
Here is an example:
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