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

name = 'getdigits/2'
slug = 'Vrni vse številke iz podanega seznama'

description = '''\
<p><code>getdigits(L, DL)</code>: seznam <code>DL</code> vsebuje vse številke iz seznama <code>L</code>, vrstni red elementov se ohrani.</p>
<pre>
  ?- getdigits([2,3,e,-,4,b], DL).
    DL = [2,3,4].
</pre>'''

hint = {}