summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/father_2/en.py
blob: bde9a2d5c3a037e24b91feb29f70f7e5d6cb33f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# coding=utf-8

name = 'father/2'
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.
</pre>'''

hint = {}