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/grandparent_2 | |
parent | 388b32039898cc8f1784378689007254eb7a33b6 (diff) |
Use argument mode indicators in Prolog problem descriptions
Diffstat (limited to 'prolog/problems/family_relations/grandparent_2')
-rw-r--r-- | prolog/problems/family_relations/grandparent_2/en.py | 2 | ||||
-rw-r--r-- | prolog/problems/family_relations/grandparent_2/sl.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/family_relations/grandparent_2/en.py b/prolog/problems/family_relations/grandparent_2/en.py index 11918a9..e82441e 100644 --- a/prolog/problems/family_relations/grandparent_2/en.py +++ b/prolog/problems/family_relations/grandparent_2/en.py @@ -4,7 +4,7 @@ name = 'grandparent/2' slug = 'the grandparent relation' description = '''\ -<p><code>grandparent(P, C)</code>: <code>P</code> is a grandparent of <code>C</code>.</p> +<p><code>grandparent(?P, ?C)</code>: <code>P</code> is a grandparent of <code>C</code>.</p> <pre> ?- grandparent(tina, X). X = vanessa ; diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py index d74f4f4..bd2d63c 100644 --- a/prolog/problems/family_relations/grandparent_2/sl.py +++ b/prolog/problems/family_relations/grandparent_2/sl.py @@ -4,7 +4,7 @@ name = 'grandparent/2' slug = 'X je dedek ali babica od Y' description = '''\ -<p><code>grandparent(X, Y)</code>: <code>X</code> je dedek ali babica od <code>Y</code>.</p> +<p><code>grandparent(?X, ?Y)</code>: <code>X</code> je dedek ali babica od <code>Y</code>.</p> <pre> ?- grandparent(tina, X). X = vanessa ; |