function followed whn deleting an item from list code example Example: delete a value in list python list.remove(element)