python program to add a key-value pair to the dictionary 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'