🌈 搜索
📅  最后修改于: 2022-03-11 14:46:06.705000             🧑  作者: Mango
>>> x = [1, 2, 3, 4, 2, 2, 3] >>> while 2 in x: x.remove(2) >>> x [1, 3, 4, 3]