diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 16:35:48 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 16:35:48 +0100 |
commit | 2e900dd0317299294f4cb27213be6f5b36d4b8b8 (patch) | |
tree | 25fb6767406b8354da92b2ac0883a5bdeef05457 /prolog/problems/family_relations/descendant_2 | |
parent | 388b32039898cc8f1784378689007254eb7a33b6 (diff) |
Use argument mode indicators in Prolog problem descriptions
Diffstat (limited to 'prolog/problems/family_relations/descendant_2')
-rw-r--r-- | prolog/problems/family_relations/descendant_2/en.py | 2 | ||||
-rw-r--r-- | prolog/problems/family_relations/descendant_2/sl.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/family_relations/descendant_2/en.py b/prolog/problems/family_relations/descendant_2/en.py index 2bd30af..aab3ba8 100644 --- a/prolog/problems/family_relations/descendant_2/en.py +++ b/prolog/problems/family_relations/descendant_2/en.py @@ -4,7 +4,7 @@ name = 'descendant/2' slug = 'the descendant relation' description = '''\ -<p><code>descendant(X, Y)</code>: <code>X</code> is a descendant (child, grandchild,...) of <code>Y</code>.</p> +<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 ; diff --git a/prolog/problems/family_relations/descendant_2/sl.py b/prolog/problems/family_relations/descendant_2/sl.py index 993b4bb..36231a1 100644 --- a/prolog/problems/family_relations/descendant_2/sl.py +++ b/prolog/problems/family_relations/descendant_2/sl.py @@ -4,7 +4,7 @@ name = 'descendant/2' slug = 'the descendant relation' description = '''\ -<p><code>descendant(X, Y)</code>: <code>X</code> is a descendant (child, grandchild,...) of <code>Y</code>.</p> +<p><code>descendant(?X, ?Y)</code>: <code>X</code> je potomec (otrok, vnuk, …) od <code>Y</code>.</p> <pre> ?- descendant(patricia, X). X = william ; |