summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/shiftright_2/sl.py
blob: 62fca8db26c7886404c5f7644d1a39cf5b87d5d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding=utf-8

name = 'shiftright/2'
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].
</pre>'''

hint = {}