summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-10-17 16:19:23 +0200
committerAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-10-17 16:19:23 +0200
commitb2b11240ce7c9b6075a0f673cd72f469db75fa0f (patch)
treed98b9afb855430862004357e9b28e6dc8e01ab98 /prolog
parentbd170fb7b4dbfc8eb3a18ecd6cdd437d5e11b5ed (diff)
Week2: simpop/3 exercise added.
Diffstat (limited to 'prolog')
-rw-r--r--prolog/engine.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/prolog/engine.py b/prolog/engine.py
index c6ecab1..b2712c6 100644
--- a/prolog/engine.py
+++ b/prolog/engine.py
@@ -150,6 +150,7 @@ def check_answers(engine, query, answers, timeout=10, inference_limit=100000):
# Run the query.
reply, output = ask(engine, query, timeout)
answer, error, more = process_answer(reply)
+ print(answer, reply)
if not check_answer(answer):
return False