can anyone help me out with this plz(adsbygoogle = window.adsbygoogle || []).push({});

i want to create a recursive function in prolog to do the following thing

sum lists(X; Y;Z) holds for lists X = [x1; : : : xn], Y = [y1; : : : yn] and

Z of numbers if and only if Z = [z1; : : : zn] and zi = xi+yi (1 i n).

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Create a recursive function in prolog

**Physics Forums | Science Articles, Homework Help, Discussion**