diff options
Diffstat (limited to 'prolog/problems/family_relations/brother_2')
-rw-r--r-- | prolog/problems/family_relations/brother_2/sl.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/prolog/problems/family_relations/brother_2/sl.py b/prolog/problems/family_relations/brother_2/sl.py index 6d45111..2d170aa 100644 --- a/prolog/problems/family_relations/brother_2/sl.py +++ b/prolog/problems/family_relations/brother_2/sl.py @@ -7,9 +7,13 @@ description = '''\ <p><code>brother(?X, ?Y)</code>: <code>X</code> je brat od <code>Y</code>.</p> <pre> ?- brother(jeffrey, X). - X = william ; - X = sally. -</pre>''' + Y = william ; + Y = sally. +</pre> +<p><a target="_blank" href="[%@resource famrel.svg%]">Družinska drevesa</a> so +podana s predikati <code>parent/2</code>, <code>male/1</code> in +<code>female/1</code>.</p> +''' plan = [ '''\ |