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