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