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