summaryrefslogtreecommitdiff
path: root/prolog
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-20 10:20:56 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-03-20 10:20:56 +0100
commitd381d710ae10711f7717d82885dde6031f10a2d2 (patch)
tree5ebde774768a1a1dd06099e5c26fc122dc487bff /prolog
parentab723135fc32ac8dee6ce1c18f1e303955425df7 (diff)
Fix: copy-paste error
Diffstat (limited to 'prolog')
-rw-r--r--prolog/problems/lists_advanced/sum_2/common.py2
-rw-r--r--prolog/problems/lists_advanced/sum_2/sl.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/prolog/problems/lists_advanced/sum_2/common.py b/prolog/problems/lists_advanced/sum_2/common.py
index 7d660d5..a56709a 100644
--- a/prolog/problems/lists_advanced/sum_2/common.py
+++ b/prolog/problems/lists_advanced/sum_2/common.py
@@ -97,7 +97,7 @@ def hint(code, aux_code):
# +H instead of +1
if prolog.engine.ask_truthTO(engine_id, 'sum([1, 3, 9, 27, 81], 5)'):
- return [{'id': '+H_instead_of_+1'}]
+ return [{'id': '+1_instead_of_+H'}]
# forcing result onto recursion
if prolog.engine.ask_truthTO(engine_id, '''\
diff --git a/prolog/problems/lists_advanced/sum_2/sl.py b/prolog/problems/lists_advanced/sum_2/sl.py
index a54c402..d926b0a 100644
--- a/prolog/problems/lists_advanced/sum_2/sl.py
+++ b/prolog/problems/lists_advanced/sum_2/sl.py
@@ -55,8 +55,8 @@ da je <code>X</code> hkrati starš in sestra od <code>Y</code> ali kaj podobno z
<p>=_instead_of_is</p>
''',
- '+H_instead_of_+1': '''\
-<p>+H_instead_of_+1</p>
+ '+1_instead_of_+H': '''\
+<p>+1_instead_of_+H</p>
''',
'forcing_result_onto_recursion': '''\