remove() 用于从列表中删除指定的元素
In [35]: l = ['a', 'b', 'c'] In [36]: l.remove('b') In [37]: l Out[37]: ['a', 'c']