I’m using: SWI-Prolog version
I want the code to: Take elements from list one by one
But what I’m getting is:
My code looks like this: findall(E,Zen(A,B,E,D),Z)
How can i take the elements from the list Z one by one ?
% your code here
I’m using: SWI-Prolog version
I want the code to: Take elements from list one by one
But what I’m getting is:
My code looks like this: findall(E,Zen(A,B,E,D),Z)
How can i take the elements from the list Z one by one ?
% your code here