我这样做
a([1,3,5,2,4]).
b([6,1,2]).
issn(L):-intersection(a,b,L)。
为什么我得到的是false?
谢谢你的回答
我找到了!
issn(L):- a(D),b(G),intersection(D,G,L).