Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
customer={
"name": "John",
"age":23,
"role":"chef",
}
customer.update({"uses":"MacBook"})
print(customer)
# Output : {'name': 'John', 'age': 23, 'role': 'chef', 'uses': 'MacBook'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment