delete element in a list by index by element name by pop code example Example: drop an intex in a list python listOfnum.remove()