I have a prolog program which includes some predicates, when i query one of the predicates it displays the true output, but it doesn't put the "." at the end and go to the next query. ChatGPT cannot even understand the problem and i cannot think of anything to do What might be the problem? (i am not able to share my code) The predicate calls a recursive predicate inside it and the results are correct i get
1 ?- predicate(1,2,A,B).
A=1,
B=2
instead of
1 ?- predicate(1,2,A,B).
A=1,
B=2.
2 ?-