summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/connected_3
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/family_relations/connected_3')
-rw-r--r--prolog/problems/family_relations/connected_3/en.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/prolog/problems/family_relations/connected_3/en.py b/prolog/problems/family_relations/connected_3/en.py
index f50d60e..932d4cf 100644
--- a/prolog/problems/family_relations/connected_3/en.py
+++ b/prolog/problems/family_relations/connected_3/en.py
@@ -6,10 +6,10 @@ slug = 'check if two people are connected in the family tree'
description = '''\
<p><code>connected(X, Y, N)</code>: <code>X</code> and <code>Y</code> are connected with a series of (no more than <code>N</code>) parent/child relations.</p>
<pre>
- ?- connected(ana, morty, 10).
- false.
- ?- connected(ana, margaret, 10).
- true.
+?- connected(ana, morty, 10).
+ false.
+?- connected(ana, margaret, 10).
+ true.
</pre>'''
hint = {}