hi
I am new to prolog. I have a problem in which I have a list of items[a,b,c,d,e,f,g]. Now say each item has its own category a b,d are all cat 1 items while e,g are cat 2 and c is cat 3 while f is cat 4. I want to reduce this list in such a way that it contains at most 2 items from any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.