Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add an item to a dictionary in python

a_dictonary = {}
a_dictonary.update({"Key": "Value"})
 
PREVIOUS NEXT
Tagged: #add #item #dictionary #python
ADD COMMENT
Topic
Name
7+1 =