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