Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete from dictionary pop

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

print(my_dict.pop(31))

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