how to assign keys and values python code example Example: add value to dictionary python dict[key] = value