summaryrefslogtreecommitdiff
path: root/prolog/problems/dcg/number_proper_2/common.py
blob: 3dc0dd5acc316f4f0804a536c63cc8d420b7209a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
id = 166
number = 50
visible = True
facts = None

solution = '''\
number_proper --> digit166.
number_proper --> nzdigit166, num_next166.

num_next166 --> digit166.
num_next166 --> digit166, num_next166.

digit166 --> ([0] ; [1] ; [2] ; [3] ; [4] ; [5] ; [6] ; [7] ; [8] ; [9]).
nzdigit166 --> ([1] ; [2] ; [3] ; [4] ; [5] ; [6] ; [7] ; [8] ; [9]).
'''