blob: 3d8f326d1055978cbea6058b183f7a71c34657a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# coding=utf-8
id = 127
number = 34
visible = False
facts = None
solution = '''\
genlist([], 0, _, _).
genlist([H|T], N, Min, Max):-
N > 0,
N1 is N - 1,
genlist(T, N1, Min, Max),
random(Min, Max, H).
'''
|