python dictionary delete sub key code example Example: delete key from python dictionary dictionary.pop(key)