Question: Exercice 3 : Write a Prolog predicate that returns the difference between two lists. The difference betweer two lists L 1 and L 2 is

Exercice 3:
Write a Prolog predicate that returns the difference between two lists. The difference betweer two lists L1 and L 2 is a list of elements that are in L1 but not in L2.
Example Queries:
])
([2,4
 Exercice 3: Write a Prolog predicate that returns the difference between

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!