🌈 搜索
📅  最后修改于: 2022-03-11 14:45:12.140000             🧑  作者: Mango
>>> a = range(1, 10) >>> [x for x in a if x not in [2, 3, 7]] [1, 4, 5, 6, 8, 9]