Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete from dictionary

my_dict = {31: 'a', 21: 'b', 14: 'c'}

del my_dict[31]

print(my_dict)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #delete #dictionary
ADD COMMENT
Topic
Name
6+3 =