+1 vote
in Prolog by
Mention Why You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic?

1 Answer

0 votes
by

You Have To Use “is” Instead Of “=” In Prolog When It Comes To Applying Calculation Logic in Prolog

“=” triggers unification in Prolog

“is” triggers arithmetic evaluation in Prolog

...