Prolog implementation of SEND + MORE = MONEY isn't finding a result
Advertisements I’m getting started with Prolog, and decided to try the famous SEND+MORE=MONEY puzzle, as it seemed fairly straightforward. However, my implementation does find a result. Can anyone see what I did wrong? smm([S, E, N, D, M, O, R, Y]) :- maplist(between(0, 9), [S, E, N, D, M, O, R, Y]), Line1 is S*1000… Read More Prolog implementation of SEND + MORE = MONEY isn't finding a result