summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/cousin_2/en.py
blob: 6c09e7946c6309878fa52cc62f82d1435256d778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
name = 'cousin/2'
slug = 'the cousin relation'

description = '''\
<p><code>cousin(?X, ?Y)</code>: <code>X</code> is a cousin (male or female) of <code>Y</code>.</p>
<pre>
?- cousin(andrew, X).
  X = vanessa ;
  X = patricia.
</pre>'''

hint = {}