diff options
Diffstat (limited to 'prolog')
-rw-r--r-- | prolog/problems/lists_advanced/sum_2/common.py | 2 | ||||
-rw-r--r-- | prolog/problems/lists_advanced/sum_2/sl.py | 4 |
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': '''\ |