summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/father_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/family_relations/father_2')
-rw-r--r--prolog/problems/family_relations/father_2/en.py10
-rw-r--r--prolog/problems/family_relations/father_2/sl.py10
2 files changed, 10 insertions, 10 deletions
diff --git a/prolog/problems/family_relations/father_2/en.py b/prolog/problems/family_relations/father_2/en.py
index bde9a2d..31517c9 100644
--- a/prolog/problems/family_relations/father_2/en.py
+++ b/prolog/problems/family_relations/father_2/en.py
@@ -6,11 +6,11 @@ slug = 'the father-child relation'
description = '''\
<p><code>father(X, Y)</code>: <code>X</code> is the father of <code>Y</code>.</p>
<pre>
- ?- father(thomas, william).
- true.
- ?- father(aleksander, X).
- X = luana ;
- X = daniela.
+?- father(thomas, william).
+ true.
+?- father(aleksander, X).
+ X = luana ;
+ X = daniela.
</pre>'''
hint = {}
diff --git a/prolog/problems/family_relations/father_2/sl.py b/prolog/problems/family_relations/father_2/sl.py
index 7b37aba..fed61c7 100644
--- a/prolog/problems/family_relations/father_2/sl.py
+++ b/prolog/problems/family_relations/father_2/sl.py
@@ -6,11 +6,11 @@ slug = 'X je oče od Y'
description = '''\
<p><code>father(X, Y)</code>: <code>X</code> je oče od <code>Y</code>.</p>
<pre>
- ?- father(thomas, william).
- true.
- ?- father(aleksander, X).
- X = luana ;
- X = daniela.
+?- father(thomas, william).
+ true.
+?- father(aleksander, X).
+ X = luana ;
+ X = daniela.
</pre>'''
plan = [