11
如何找到列表交集?
a = [1,2,3,4,5] b = [1,3,5,6] c = a and b print c 实际输出:[1,3,5,6] 预期输出:[1,3,5] 我们如何在两个列表上实现布尔AND操作(列表交集)?
203
python
arrays
intersection