python update dictionary with new key value pair code example
Example: python dictionary add key-value pair
dict = {'key1':'value_one', 'key2':'value_two'}
dict['key3'] = 'value_three'
dict = {'key1':'value_one', 'key2':'value_two'}
dict['key3'] = 'value_three'