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

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