add a key value to a dictionary python code example Example: add value to dictionary python dict[key] = value