+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

Related questions

0 votes
asked Mar 3, 2021 in Prolog by SakshiSharma
+1 vote
asked Mar 3, 2021 in Prolog by SakshiSharma
...