I create a list, and I want to remove a string from it.
Ex:
>>> myList = [\'a\', \'b\', \'c\', \'d\'] >>> myList = myList.remove
Just an addition to Anand's Answer,
mylist = mylist.remove('c')
The above code will return 'none' as the return type for my list. So you want to keep it as
mylist.remove('c')