Source Code:
(back to article)
my_dict = {'a': 1, 'b': 2, 'c': 3} value = my_dict.pop('b') print(value) # 2 print(my_dict) # {'a': 1, 'c': 3}
Result:
Report an issue