extended the values in a dictionary python code example Example: extend a dictionary python a.update(b)