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