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

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 = {}