diff options
Diffstat (limited to 'prolog/problems/family_relations/descendant_2')
-rw-r--r-- | prolog/problems/family_relations/descendant_2/en.py | 8 | ||||
-rw-r--r-- | prolog/problems/family_relations/descendant_2/sl.py | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/prolog/problems/family_relations/descendant_2/en.py b/prolog/problems/family_relations/descendant_2/en.py index 74360f3..2bd30af 100644 --- a/prolog/problems/family_relations/descendant_2/en.py +++ b/prolog/problems/family_relations/descendant_2/en.py @@ -6,10 +6,10 @@ slug = 'the descendant relation' description = '''\ <p><code>descendant(X, Y)</code>: <code>X</code> is a descendant (child, grandchild,...) of <code>Y</code>.</p> <pre> - ?- descendant(patricia, X). - X = william ; - X = tina ; - X = thomas. +?- descendant(patricia, X). + X = william ; + X = tina ; + X = thomas. </pre>''' hint = {} diff --git a/prolog/problems/family_relations/descendant_2/sl.py b/prolog/problems/family_relations/descendant_2/sl.py index 5f4a3ca..993b4bb 100644 --- a/prolog/problems/family_relations/descendant_2/sl.py +++ b/prolog/problems/family_relations/descendant_2/sl.py @@ -6,10 +6,10 @@ slug = 'the descendant relation' description = '''\ <p><code>descendant(X, Y)</code>: <code>X</code> is a descendant (child, grandchild,...) of <code>Y</code>.</p> <pre> - ?- descendant(patricia, X). - X = william ; - X = tina ; - X = thomas. +?- descendant(patricia, X). + X = william ; + X = tina ; + X = thomas. </pre>''' plan = ['''\ |