สถานะการส่งล่าสุด: -

SOS11: Dictionary Remove Key (pop())

Basic dictionary

Remove keys from dictionary

Example Outputs

Enter dict keys: B
{'A': 1, 'C': 3, 'D': 4}
The remove key is: B
The removed key's value is: 2


dct = {'A': 1,'B': 2, 'C': 3, 'D': 4}