summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/brother_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/family_relations/brother_2')
-rw-r--r--prolog/problems/family_relations/brother_2/common.py1
-rw-r--r--prolog/problems/family_relations/brother_2/sl.py17
2 files changed, 9 insertions, 9 deletions
diff --git a/prolog/problems/family_relations/brother_2/common.py b/prolog/problems/family_relations/brother_2/common.py
index a8047fb..13f7ab5 100644
--- a/prolog/problems/family_relations/brother_2/common.py
+++ b/prolog/problems/family_relations/brother_2/common.py
@@ -22,7 +22,6 @@ brother(X, Y) :-
'''
hint_type = {
- 'general_hint': HintSequence('general_hint', 3),
'x_must_be_male': Hint('x_must_be_male'),
'common_parent_needed': Hint('common_parent_needed'),
'Y_can_be_of_any_gender': Hint('Y_can_be_of_any_gender'),
diff --git a/prolog/problems/family_relations/brother_2/sl.py b/prolog/problems/family_relations/brother_2/sl.py
index ad1d6c2..116a968 100644
--- a/prolog/problems/family_relations/brother_2/sl.py
+++ b/prolog/problems/family_relations/brother_2/sl.py
@@ -12,20 +12,21 @@ description = '''\
X = sally.
</pre>'''
-hint = {
- 'general_hint': ['''\
-<p><img src="Sister-1.png" /></p>
-''', '''\
-<p><img src="Sister-2.png" /></p>
-''', '''\
+plan = [
+ '''\
+<p><img src="Sister-1.png" /></p>''',
+ '''\
+<p><img src="Sister-2.png" /></p>''',
+ '''\
<p><img src="Sister-2.png" /></p>
<pre>
parent(P, X)
parent(P, Y)
male(X)
-</pre>
-'''],
+</pre>'''
+]
+hint = {
'x_y_must_be_different': '''\
<p>Si pomislil, da sta <code>X</code> in <code>Y</code> lahko ista oseba? Poskusi naslednjo poizvedbo:</p>
<pre>