summaryrefslogtreecommitdiff
path: root/prolog/problems/other/genlist_4/en.py
blob: 8d4cfe89a640420a38137bf65eb1c4a3d1152802 (plain)
1
2
3
4
5
6
7
8
9
10
11
name = 'genlist/4'
slug = 'generate a list of random numbers'

description = '''\
<p><code>genlist(L, N, Min, Max)</code>: the list <code>L</code> contains <code>N</code> random numbers from the interval [<code>Min</code>,<code>Max</code>).</p>
<pre>
?- genlist(L, 5, 10, 100).
  L = [12,99,81,24].
</pre>'''

hint = {}