当前位置:主页 > 软件编程 > Python代码 >
时间:2021-01-10 11:05:07 | 栏目:Python代码 | 点击:次
如下所示:
l = [1, 2, 3, 5] l_one = [2, 8, 6, 10] print set(l) & set(l_one)