To add a new Value to a Dictionary in Python you can use one of the following ways.
Sample Python
myDict['key'] = 'value'
or
Sample Python
myDict = {'key':'value'}
To add a new Value to a Dictionary in Python you can use one of the following ways.
myDict['key'] = 'value'
or
myDict = {'key':'value'}