dragonwasrobot / learn-prolog-now-exercises

My solutions to the exercises and practical sessions of the book 'Learn Prolog Now!' by Patrick Blackburn, Johan Bos, and Kristina Striegnitz.
288 stars 81 forks source link

Update practical-session.pl #44

Closed diskun00 closed 6 years ago

diskun00 commented 6 years ago

Hi, I think question 1 requires us to use cut-fail combination to solve the problem without using =.