a.remove('b') if thing in some_list: some_list.remove(thing) 转载于:https://www.cnblogs.com/qingyuanjushi/p/6220520.html