Lists have the append() function to add an item to the end of the list. Is there a similar function to add to the end of dictionaries? Update() doesn't seem to work.
Example:
>>> a = {'a':'a'}
>>> b = {'b':'b'}
>>> c = {'c':'c'}
>>> a
{'a': 'a'}
>>> b
{'b': 'b'}
>>> c
{'c': 'c'}
>>> a.update(b)
>>> a
{'a': 'a', 'b': 'b'}
>>> a.update(c)
>>> a
{'a': 'a', 'c': 'c', 'b': 'b'}
The end result I'm looking for is {'a':'a','b':'b','c':'c'}. Why did it become {'a': 'a', 'c': 'c', 'b': 'b'} instead?