pop « Dictionary « Python Tutorial






8.21.pop
8.21.1.pop method returns the value corresponding to a given key, and then remove the key-value pair from the dictionary
8.21.2.How to Remove Dictionary Elements and Dictionaries