DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+3 =
Submit