I create a list, and I want to remove a string from it.
Ex:
>>> myList = [\'a\', \'b\', \'c\', \'d\'] >>> myList = myList.remove
The remove() function doesn't return anything, it modifies the list in place. If you don't assign it to a variable you will see that myList doesn't contain c anymore.
remove()
myList
c