summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/shiftleft_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/lists/shiftleft_2')
-rw-r--r--prolog/problems/lists/shiftleft_2/en.py4
-rw-r--r--prolog/problems/lists/shiftleft_2/sl.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/prolog/problems/lists/shiftleft_2/en.py b/prolog/problems/lists/shiftleft_2/en.py
index a99b4a7..a8dd5f0 100644
--- a/prolog/problems/lists/shiftleft_2/en.py
+++ b/prolog/problems/lists/shiftleft_2/en.py
@@ -6,8 +6,8 @@ slug = 'shift a list left'
description = '''\
<p><code>shiftleft(L1, L2)</code>: the list <code>L2</code> is obtained from L1 by shifting elements to the left by one (circular shift).</p>
<pre>
- ?- shiftleft([1,2,3,4,5], X).
- X = [2,3,4,5,1].
+?- shiftleft([1,2,3,4,5], X).
+ X = [2,3,4,5,1].
</pre>'''
hint = {}
diff --git a/prolog/problems/lists/shiftleft_2/sl.py b/prolog/problems/lists/shiftleft_2/sl.py
index 44e726f..ae412a6 100644
--- a/prolog/problems/lists/shiftleft_2/sl.py
+++ b/prolog/problems/lists/shiftleft_2/sl.py
@@ -6,8 +6,8 @@ slug = 'Premakni elemente seznama za eno mesto v levo'
description = '''\
<p><code>shiftleft(L1, L2)</code>: elemente v seznamu <code>L1</code> za eno mesto premaknemo v levo ("circular shift").</p>
<pre>
- ?- shiftleft([1,2,3,4,5], X).
- X = [2,3,4,5,1].
+?- shiftleft([1,2,3,4,5], X).
+ X = [2,3,4,5,1].
</pre>'''
hint = {}