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