blob: 0345fec94589f7a71676903f87e923aabe31276e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# coding=utf-8
name = 'sister/2'
slug = 'the sister relation'
description = '''\
<p><code>sister(?X, ?Y)</code>: <code>X</code> is a sister of <code>Y</code>.</p>
<pre>
?- sister(vanessa, X).
X = patricia.
</pre>'''
hint = {
'x_y_must_be_different': '''\
<p>What if <code>X</code> and <code>Y</code> are the same person? Try the
following query:</p>
<pre>
?- sister(sally, Y).
</pre>
''',
}
|