summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/father_2/en.py
blob: b37c66653bebb60942eec3a034f22d25d16e8965 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 = {}