From d381d710ae10711f7717d82885dde6031f10a2d2 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 20 Mar 2016 10:20:56 +0100 Subject: Fix: copy-paste error --- prolog/problems/lists_advanced/sum_2/common.py | 2 +- prolog/problems/lists_advanced/sum_2/sl.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'prolog/problems/lists_advanced') 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 X hkrati starš in sestra od Y ali kaj podobno z

=_instead_of_is

''', - '+H_instead_of_+1': '''\ -

+H_instead_of_+1

+ '+1_instead_of_+H': '''\ +

+1_instead_of_+H

''', 'forcing_result_onto_recursion': '''\ -- cgit v1.2.1