human
Add key to a dictionary
assistant
Here is some code to add key 'a' to dictionary `data` with value 1

data.update(a=1)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.