1 | odd(X) :- rem(X,2) is 1. |
b2RkKFgpIDotIHJlbShYLDIpIGlzIDEu
-
upload with new input
-
result: Success time: 0.01s memory: 68352 kB returned value: 0
?- odd(2)
GNU Prolog 1.3.1 By Daniel Diaz Copyright (C) 1999-2009 Daniel Diaz uncaught exception: error(syntax_error('user_input:1 (char:4) . or operator expected after expression'),read_term/3) -
result: Success time: 0.02s memory: 68352 kB returned value: 0
?- odd(1)
GNU Prolog 1.3.1 By Daniel Diaz Copyright (C) 1999-2009 Daniel Diaz uncaught exception: error(syntax_error('user_input:1 (char:4) . or operator expected after expression'),read_term/3)



