summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/depthbt_2/en.py
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/trees/depthbt_2/en.py')
-rw-r--r--prolog/problems/trees/depthbt_2/en.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/trees/depthbt_2/en.py b/prolog/problems/trees/depthbt_2/en.py
index 94fec48..c3f7d4c 100644
--- a/prolog/problems/trees/depthbt_2/en.py
+++ b/prolog/problems/trees/depthbt_2/en.py
@@ -6,8 +6,8 @@ slug = 'find the depth of a binary tree'
description = '''\
<p><code>depthBT(T, D)</code>: <code>D</code> is the depth of the binary tree <code>T</code>.</p>
<pre>
- ?- depthBT(b(b(b(nil,4,nil),2,b(nil,6,nil)),1,nil), D).
- D = 3.
+?- depthBT(b(b(b(nil,4,nil),2,b(nil,6,nil)),1,nil), D).
+ D = 3.
</pre>'''
hint = {}