def add_to_inventory(inventory, added_items):
    """Updates inventory by added_items."""
    for item in added_items:
        # Check if the item is already in the inventory
        if item in inventory.keys():
            inventory[item] += 1
        else:
            inventory[item] = 1
    return inventory