how to add values to dictinory in python code example
Example 1: how to add an item to a dictionary in python
a_dictonary = {}
a_dictonary.update({"Key": "Value"})
Example 2: add value to dictionary python
dict[key] = value
a_dictonary = {}
a_dictonary.update({"Key": "Value"})
dict[key] = value