Question: Do not use any pre - defined Prolog list predicates in answering this question. Define a Prolog predicate blend ( X , Y , Z
Do not use any predefined Prolog list predicates in answering this question.
Define a Prolog predicate blendXYZ which is true only if Z is a list that results from
selecting elements from lists X and Y in strict alternation, as shown in these examples: blend
is true. blend is
true. blend is true. blend Z results in Z
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
