🌈 搜索
📅  最后修改于: 2022-03-11 14:46:51.393000             🧑  作者: Mango
>>> a = [1, 2, 20, 6, 210] >>> b = set([6, 20, 1]) >>> [x for x in a if x not in b] [2, 210]