Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Dictionary Delete a Entry

hh = {"a":3, "b":4, "c":5}

# delete a entry
del hh["b"]
print(hh)
# {'a': 3, 'c': 5}
Source by xahlee.info #
 
PREVIOUS NEXT
Tagged: #Dictionary #Delete #Entry
ADD COMMENT
Topic
Name
3+1 =