Run
my_dict = { 'foo':12, 'bar':14, 'moo':16 } removed_value = my_dict.pop('poo', 0) print(f"Removed value : {removed_value}") print(my_dict)
Output