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