python dictionary pop and return dictionary code example Example: python dictionary pop value = dict_a.pop(key)