How to avoid repetition in prolog
- by Pradeep
I get several results with the same outputs.
I want to get jack,jane only one time, but I get it two times.
How can I avoid this? I tried setof but I couldn't get it done. Please can someone help me on this?