(inventory, item)
return inventory
:param inventory: dict - inventory dictionary.
    :param item: str - item to remove from the inventory.
    :return:  dict - updated inventory dictionary with item removed.
def remove_item(inventory, item):
    """

    :param inventory: dict - inventory dictionary.
    :param item: str - item to remove from the inventory.
    :return:  dict - updated inventory dictionary with item removed.
    """

    if item in inventory:
        inventory.pop(item)
    return inventory
def remove_item ( inventory , item ) : if item in inventory : inventory . pop ( item ) return inventory