diff options
author | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-10-17 16:19:23 +0200 |
---|---|---|
committer | Aleksander Sadikov <aleksander.sadikov@fri.uni-lj.si> | 2016-10-17 16:19:23 +0200 |
commit | b2b11240ce7c9b6075a0f673cd72f469db75fa0f (patch) | |
tree | d98b9afb855430862004357e9b28e6dc8e01ab98 | |
parent | bd170fb7b4dbfc8eb3a18ecd6cdd437d5e11b5ed (diff) |
Week2: simpop/3 exercise added.
-rw-r--r-- | prolog/engine.py | 1 |
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 |