python remove element from list by value if exists code example Example: drop an intex in a list python listOfnum.remove()