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