summaryrefslogtreecommitdiff
path: root/prolog/problems/trees/tolistbt_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/trees/tolistbt_2')
-rw-r--r--prolog/problems/trees/tolistbt_2/en.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/trees/tolistbt_2/en.py b/prolog/problems/trees/tolistbt_2/en.py
index a6d0d4b..94ba3ea 100644
--- a/prolog/problems/trees/tolistbt_2/en.py
+++ b/prolog/problems/trees/tolistbt_2/en.py
@@ -6,8 +6,8 @@ slug = 'construct a list with all elements of a binary tree'
description = '''\
<p><code>tolistBT(T, L)</code>: the list <code>L</code> contains all the elements in the binary tree <code>T</code>, in infix order.</p>
<pre>
- ?- tolistBT(b(b(nil,2,nil),1,b(nil,3,nil)), L).
- L = [2,1,3].
+?- tolistBT(b(b(nil,2,nil),1,b(nil,3,nil)), L).
+ L = [2,1,3].
</pre>'''
hint = {}