summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/mother_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/family_relations/mother_2')
-rw-r--r--prolog/problems/family_relations/mother_2/en.py10
-rw-r--r--prolog/problems/family_relations/mother_2/sl.py10
2 files changed, 10 insertions, 10 deletions
diff --git a/prolog/problems/family_relations/mother_2/en.py b/prolog/problems/family_relations/mother_2/en.py
index 722c016..531c3d7 100644
--- a/prolog/problems/family_relations/mother_2/en.py
+++ b/prolog/problems/family_relations/mother_2/en.py
@@ -6,11 +6,11 @@ slug = 'the mother-child relation'
description = '''\
<p><code>mother(M, C)</code>: <code>M</code> is the mother of <code>C</code>.</p>
<pre>
- ?- mother(tina, william).
- true.
- ?- mother(nevia, X).
- X = luana ;
- X = daniela.
+?- mother(tina, william).
+ true.
+?- mother(nevia, X).
+ X = luana ;
+ X = daniela.
</pre>'''
hint = {}
diff --git a/prolog/problems/family_relations/mother_2/sl.py b/prolog/problems/family_relations/mother_2/sl.py
index b37c20c..5869033 100644
--- a/prolog/problems/family_relations/mother_2/sl.py
+++ b/prolog/problems/family_relations/mother_2/sl.py
@@ -6,11 +6,11 @@ slug = 'X je mama od Y'
description = '''\
<p><code>mother(X, Y)</code>: <code>X</code> je mama od <code>Y</code>.</p>
<pre>
- ?- mother(tina, william).
- true.
- ?- mother(nevia, X).
- X = luana ;
- X = daniela.
+?- mother(tina, william).
+ true.
+?- mother(nevia, X).
+ X = luana ;
+ X = daniela.
</pre>'''
plan = [