From b202e2d5007ca9a53b4ffac4cc2224d647119dbc Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 18 Sep 2015 16:40:02 +0200 Subject: Add plan for brother/father/mother/sister --- prolog/problems/family_relations/mother_2/common.py | 1 - prolog/problems/family_relations/mother_2/sl.py | 17 +++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'prolog/problems/family_relations/mother_2') diff --git a/prolog/problems/family_relations/mother_2/common.py b/prolog/problems/family_relations/mother_2/common.py index 3a7e196..4d198d4 100644 --- a/prolog/problems/family_relations/mother_2/common.py +++ b/prolog/problems/family_relations/mother_2/common.py @@ -20,7 +20,6 @@ mother(X, Y) :- ''' hint_type = { - 'general_hint': HintSequence('general_hint', 3), 'or_instead_of_and': Hint('or_instead_of_and'), 'x_must_be_female': Hint('x_must_be_female'), 'x_must_be_parent': Hint('x_must_be_parent'), diff --git a/prolog/problems/family_relations/mother_2/sl.py b/prolog/problems/family_relations/mother_2/sl.py index 5922d6c..3494096 100644 --- a/prolog/problems/family_relations/mother_2/sl.py +++ b/prolog/problems/family_relations/mother_2/sl.py @@ -14,17 +14,18 @@ description = '''\ X = daniela. ''' -hint = { - 'general_hint': ['''\ -

-

Loni naj zbriše imena relacij (parent, mother) s te slike!

-''', '''\ +plan = [ + '''\

-''', '''\ +

Loni naj zbriše imena relacij (parent, mother) s te slike!

''', + '''\ +

''', + '''\

Če je X ženska in je hkrati X starš od Y, -potem je X mama od Y.

-'''], +potem je X mama od Y.

''' +] +hint = { 'or_instead_of_and': '''\

Si morda uporabil podpičje (ki pomeni ALI) namesto vejice (ki pomeni IN)?

''', -- cgit v1.2.1